Results 1 to 3 of 3
  1. #1
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    3,560

    What are the htaccess mechanics of preventing search engines from indexing PDF files?

    What are the htaccess mechanics of preventing search engines from indexing PDF files?

  2. #2
    Senior Member
    Join Date
    Aug 2020
    Posts
    1,522
    The simplest way to prevent PDF documents from appearing in search results is to add an X-Robots-Tag: noindex in the HTTP header used to serve the file. If they're already indexed, they'll drop out over time if you use the X-Robot-Tag with the noindex directive.

  3. #3
    Senior Member
    Join Date
    Nov 2018
    Posts
    1,855
    Using a “noindex” metatag. The most effective and easiest tool for preventing Google from indexing certain web pages is the “noindex” metatag. Basically, it's a directive that tells search engine crawlers to not index a web page, and therefore subsequently be not shown in search engine results.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.