Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Search Engine Optimization (http://siteownersforums.com/forumdisplay.php?f=16)
-   -   How to prevent a PDF file from being indexed by search engines? (http://siteownersforums.com/showthread.php?t=980980)

pharmasecure 03-04-2021 09:40 AM

How to prevent a PDF file from being indexed by search engines?
 
How to prevent a PDF file from being indexed by search engines?

nathanleo 03-04-2021 10:12 PM

The most straightforward approach to forestall PDF records from showing up in list items is to add a X-Robots-Tag: noindex in the HTTP header used to serve the document. In the event that they're now listed, they'll drop out over the long run on the off chance that you utilize the X-Robot-Tag with the noindex mandate.

nathanleo 10-17-2021 11:45 PM

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.


All times are GMT -7. The time now is 08:10 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.