In a new post on their official Webmaster’s Blog, Google announced that it would be officially retiring unsupported lines of code in the robots.txt file that websites use to instruct how the search algorithm should crawl and index their site. It comes after a previous blog post announcing that their production robots.txt parse is going to switch to open source.
“In the interest of maintaining a healthy ecosystem and preparing for potential future open source releases, we’re retiring all code that handles unsupported and unpublished rules (such as noindex) on September 1, 2019.”
Today we're saying goodbye to undocumented and unsupported rules in robots.txt ?
If you were relying on these rules, learn about your options in our blog post.https://t.co/Go39kmFPLT
— Google Webmasters (@googlewmc) July 2, 2019
The pending changes mean that websites currently using a noindex directive in their robots.txt need to find and implement an alternative before September 1st. Google has listed some alternatives they recommend:
- Use the noindex directive in robots meta tags (Google argues this is the most effective way to prevent URLs from being indexed)
- Using 404 or 410 HTTP status codes to indicate the page does not exist and should be removed from Google’s index
- Password protecting pages means they won’t be indexed unless you indicate the content is paywalled or subscription locked
- Using disallow in robots.txt to prevent the page from being crawled, which means that the content on said page won’t be indexed
- Google’s Search Console Remove URL tool
Ultimately, these changes are simply Google cleaning up how robots.txt is used so that they have a more uniform set of rules for people to follow. It shouldn’t have any negative effect on your website or its ranking as long as you implement an alternative method to flag which pages you don’t want indexed.
We are a friendly and reliable team that pays detailed attention to your projects and management of your brand. Our team at SEO Shark has a passion for all things online. We constantly innovate using the latest professional techniques and strategies.