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

37 Ways to Level Up Your Design

Ever been working on a design that feels too plain? Let’s look at a few dozen simple ways to spice things up. Get ready to bookmark this page, because you’ll want to reference this list in the future. It’s unbelievable how many incredible pro-level designs feature...

Powering Creativity: Exploring the Pros of WordPress Page Builders

In today's digital age, building an eye-catching and functional website is crucial for businesses and individuals alike. WordPress, the popular content management system (CMS), offers a wide range of page builders to simplify the website creation process. In this blog...

Website Menu Accessibility

Heading Order One of the easiest accessibility improvements you can make to a website with big impact is adding headings to break up content and using them in  the correct numerical order. When you’re building websites, always use headings in the correct order to...

ChatGPT: New OpenAI text generator is out of this world

The newly trained ChatGPT from Open AI has been released to much fanfare. No doubt you may have seen people on social media posting tests from it, or maybe a youtube video popped up on your feed. Well, AI is here and making a big statement with ChatGPT. What is the...

Introducing Rapid Wireframing

Mix & Match 478+ premade Blocks & export the final design as .json file. This is not a plugin nor child theme. Nothing to be installed on your site. It's is an online drag & drop tool for you to easily mix & match 478+ premade blocks then simply export...

Subdomains and SEO – Pros and Cons of Subdomains vs Subdirectories

Pros and Cons of Subdomains and Subdirectories in 2022 If you want to manage multiple websites for your business or your clients, one way to achieve subdomains or subdirectories on WordPress is to use WordPress Multisite (formally known as WPMU). This creates a...