How to Hide Pages and PDF Documents from being Indexed by Google

By Michael Kramer // Nov 22, 2018 at 12:52 AM

A client recently asked how to hide photos and PDF documents in their monthly Newsletter from being indexed by Google and other Search Engines.

The client was claiming that another website she manages on Weebly alowed her to hide individual blog articles.  Here is the Support Ticket response.

Hi Renee,

I just tested the website for being able to hide article pages.  What I found was you can click the "Hide this page from search engines." in the SEO Settings for the Blog.  What that does is effect ALL articles in the Bog, not just one article.  The other thing I learned is by doing this weebly is removing the blog pages from the /sitemap.xml file they submit to the search engines.   This in no way hides the page from being crawled and searched by all search engines.  For the page to be truly hidden you need the following script in the "Head Script" section of any page.

noindex, nofollow script is needed:

<meta content='noindex, nofollow' name='robots' /> does not allow you to modify the Head Script of any individual page or article.  You can add this script to the "META Keywords" section of the settings for all Blog articles.  This way you can prevent the indexing of all articles, but still not individual articles.

How to Hide Pages and PDF Documents from being Indexed by Google
I would recommend you create a "Page", not article post, and enter the nofollow script in the Head Script for that page (see screen capture below).  Here is the New Page URL,
Then post all the links to your Newsletters on that individual page.  Since your Newsletters are just links to PDF documents, this should work very well.

Google can take up to 6 months to clear your website pages

You should also know that Google can take up to 6 months to clear your pages and/or PDF documents from their Search Results.  Only Google has control over this.
Another option is continue to use the Articles system to post your Newsletters, but add a Nofollow script to the link to your PDF document.  

Here is an example of a nofollow link.

<a href="" rel="nofollow noopener" target="_blank">Eliot's Fall 2018 Newsletter</a>
I just updated your latest Newsletter link with this update,
Hope that helps,
Posted in SEO and CMS, Search Engine Optimization.

Drive more traffic to your website using
VisionTRACKER SEO Services

Need to improve your web presence?

We can help you connect with your online audience however they reach you.  Ask us how! (805) 456-6011