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

by | Nov 28, 2018

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 weebly.com 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’ />Weebly.com 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.

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, https://www.eliotinstitute.org/admin/pages/newThen 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.  

<a href=”https://s3.amazonaws.com/siteninja/multitenant/assets/26731/files/original/2018_Fall_-_Newsletter.pdf” rel=”nofollow noopener” target=”_blank”>Eliot’s Fall 2018 Newsletter</a>I just updated your latest Newsletter link with this update, https://www.eliotinstitute.org/article/13283-eliot-s-fall-2018-newsletterHope that helps,Michaelreferences:https://developers.google.com/web/tools/lighthouse/audits/noopener

RankMath vs Yoast: Which is better for SEO? (2022)

Which software do you use to manage SEO on your website? Should you use Yoast SEO or Rank Math? While Yoast SEO gets most of the press, that doesn t mean it s your only option for search engine optimization on WordPress. There are numerous other effective plugins...

Understanding the Limits of Shared WordPress Hosting

  INTRO Shared WordPress hosting is often viewed as the best value for hosting your website. But when it comes to reliable performance, real human support, and security, it can quickly become a nightmere number of reasons. It can be slow because you are sharing...

Why is my WordPress Website Slow?

Santa Barbara Web Design and Hosting from Ameravant What are the two most important for website speed? Web Hosting: If you are using shared hosting, or your managed hosting is not optimized, you may have a slow website which can lead visitors to click off your site....

How to Write SEO-Friendly Content Like a Pro with A.I.

You Won't Believe How Easy It Is to Generate SEO Content for Your Website Artificial intelligence (AI) has come a long way since its inception in the 1960s. In recent years, AI has been used to create systems that can automatically analyze and interpret data. This...

Ameravant + WordPress Updates

We wanted to share some exciting news as we move in to 2022. Ameravant will be offering new, top-tier WordPress design and hosting moving forward. We have built up a secure cloud-based WordPress hosting environment, complete with multiple premium ($$) plugins...

How to Ask for Business Reviews

About the author Brian Barwig   Brian is a Local Search Analyst and Account Manager at a digital marketing agency, Sterling Sky. He has been helping clients with local SEO since 2008 and works on a variety of businesses with the Sterling Sky Dream Team. Most...