The Story of Blocking 2 High-Ranking Pages With Robots.txt

Marketing reports, apps, and automations, handled. Meet Letaido.

Get Started

Marketing reports, apps, and automations, handled. Meet Letaido.

Get Started

The only AI marketing platform built on Ahrefs’ proprietary web index.

Get Started

The only AI marketing platform built on Ahrefs’ proprietary web index.

Get Started

“The AI marketing platform we needed didn’t exist. So we built it.”

Tim Soulo

Tim Soulo, CMO at Ahrefs

Get Started

“The AI marketing platform we needed didn’t exist. So we built it.”

Tim Soulo

Tim Soulo, CMO at Ahrefs

Get Started

Data & Studies

Portrait of Patrick Stox

By Patrick Stox

Technical SEO at Ahrefs

Reviewed by

Joshua Hardwick

Updated: July 9, 20233 min read

26 Linking websitesArticle performance data from Ahrefs

Contents

I blocked two of our ranking pages using robots.txt. We lost a position here or there and all of the featured snippets for the pages. I expected a lot more impact, but the world didn’t end.

Warning


I don’t recommend doing this, and it’s entirely possible that your results may be different from ours.

I was trying to see the impact on rankings and traffic that the removal of content would have. My theory was that if we blocked the pages from being crawled, Google would have to rely on the link signals alone to rank the content.

However, I don’t think what I saw was actually the impact of removing the content. Maybe it is, but I can’t say that with 100% certainty, as the impact feels too small. I’ll be running another test to confirm this. My new plan is to delete the content from the page and see what happens.

My working theory is that Google may still be using the content it used to see on the page to rank it. Google Search Advocate John Mueller has confirmed this behavior in the past.

John Mueller tweet confirming Patrick's theory in the past

So far, the test has been running for nearly five months. At this point, it doesn’t seem like Google will stop ranking the page. I suspect, after a while, it will likely stop trusting that the content that was on the page is still there, but I haven’t seen evidence of that happening.

Keep reading to see the test setup and impact. The main takeaway is that accidentally blocking pages (that Google already ranks) from being crawled using robots.txt probably isn't going to have much impact on your rankings, and they will likely still show in the search results.

Contents

I chose the same pages as used in the “impact of link” study, except for the article on SEO pricing because Joshua Hardwick had just updated it. I had seen the impact of removing the links to these articles and wanted to test the impact of removing the content. As I said in the intro, I’m not sure that’s actually what happened.

I blocked these two pages on January 30, 2023:

These lines were added to our robots.txt file:

  • Disallow: /blog/top-bing-searches/
  • Disallow: /blog/top-youtube-searches/

As you can see in the charts below, both pages lost some traffic. But it didn’t result in much change to our traffic estimate like I was expecting.

Organic traffic chart for the “Top YouTube Searches” article showing a bit of a drop

Traffic for the “Top YouTube Searches” article.

Organic traffic chart for the “Top Bing Searches” article showing a bit of a drop

Traffic for the “Top Bing Searches” article.

Looking at the individual keywords, you can see that some keywords lost a position or two and others actually gained ranking positions while the page was blocked from crawling.

The most interesting thing I noticed is that they lost all featured snippets. I guess that having the pages blocked from crawling made them ineligible for featured snippets. When I later removed the block, the article on Bing searches quickly regained some snippets.

“Top Bing Searches” keywords were down one or two positions and lost featured snippets

Organic keywords for the “Top Bing Searches” article.

“Top YouTube Searches” keywords had mixed results (some up and some down) and also lost featured snippets

Organic keywords for the “Top YouTube Searches” article.

The most noticeable impact to the pages is on the SERP. The pages lost their custom titles and displayed a message saying that no information was available instead of the meta description.

SERP listing for “Top YouTube Searches” when blocked

SERP listing for “Top Bing Searches” when blocked

This was expected. It happens when a page is blocked by robots.txt. Additionally, you’ll see the “Indexed, though blocked by robots.txt” status in Google Search Console if you inspect the URL.

“Indexed, though blocked by robots.txt” shown in the GSC Inspection Tool

I believe that the message on the SERPs hurt the clicks to the pages more than the ranking drops. You can see some drop in the impressions, but a larger drop in the number of clicks for the articles.

Traffic for the “Top YouTube Searches” article:

Traffic drop for the “Top YouTube Searches” article, via Google Search Console

Traffic for the “Top Bing Searches” article:

![Traffic drop for the “Top Bing Searches” article, via Google Search Console

](/uploads/projects/ahrefs-seo-guide/202611/18e52994fc608622.png)

Final thoughts

I don’t think any of you will be surprised by my commentary on this. Don’t block pages you want indexed. It hurts. Not as bad as you might think it does—but it still hurts.

Portrait of Patrick Stox

Post byPatrick Stox

Patrick Stox is an independent SEO consultant. Former Product Advisor, Technical SEO, and Brand Ambassador at Ahrefs. Before that he was a Technical SEO at IBM for many years, worked at an agency, had his own consultancy, and was in-house at a B2B company. A long time ago he started his career as a developer.

He’s an organizer for the Triangle SEO Meetup, the Tech SEO Connect conference, he runs a Technical SEO Slack group, and is a moderator for /r/TechSEO on Reddit.

Patrick was the lead author for the SEO chapter of the 2021 Web Almanac and reviewer for the 2022 chapter. He helped define the role of Search Marketing Strategist for the US Department of Labor. He also co-wrote the SEO Book For Beginners by Ahrefs and was the Technical Review Editor for The Art of SEO 4th Edition.

He’s spoken at 100+ industry events including Pubcon, SMX, Tech SEO Boost, Ad World, Digital Summit, and many more. He’s written 100+ articles for industry sites like Search Engine Land, Search Engine Journal, MarTech, and right here at Ahrefs. He was a finalist for SEO Speaker of the Year and SEO Contributor of the Year at the 2018 Search Engine Land Awards. He was also an EzineArticles Platinum author back in the day and still has the mug to prove it.

Patrick has judged nearly a dozen search awards for multiple years including the US Search Awards, UK Search Awards, and Interactive Marketing Awards. He participated in and documented the world’s largest SEO contest to date, the Wix SEO Hero contest which he arguably should have won.

Reviewed by

Portrait of Joshua Hardwick

Joshua Hardwick

Keep learning


[The Story of Blocking 2 High-Ranking Pages With Robots.txt - 图15

Si Quan Ong](https://ahrefs.com/blog/author/si-quan-ong/)July 7, 2025

AI Search

Data & Studies

General SEO

### AI-Generated Content Does Not Hurt Your Google Rankings (600,000 Pages Analyzed)


[The Story of Blocking 2 High-Ranking Pages With Robots.txt - 图16

Patrick Stox](https://ahrefs.com/blog/author/patrick-stox/)May 19, 2025

AI Search

Data & Studies

### Insights From 55.8M AI Overviews Across 590M Searches—A Study by Ahrefs


[The Story of Blocking 2 High-Ranking Pages With Robots.txt - 图17

Joshua Hardwick](https://ahrefs.com/blog/author/joshua-hardwick/)January 1, 2020

Data & Studies

[### Top Amazon Searches

The Story of Blocking 2 High-Ranking Pages With Robots.txt - 图18](https://ahrefs.com/blog/top-amazon-searches/)


[The Story of Blocking 2 High-Ranking Pages With Robots.txt - 图19

Patrick Stox](https://ahrefs.com/blog/author/patrick-stox/)April 3, 2023

Data & Studies

General SEO

### Does Going Viral Help With SEO? Not Really


[The Story of Blocking 2 High-Ranking Pages With Robots.txt - 图20

Louise Linehan](https://ahrefs.com/blog/author/louise-linehan/)July 21, 2025

AI Search

Data & Studies

### 76% of AI Overview Citations Pull From the Top 10

Your weekly marketing’s must-reads

Join 284K marketers for weekly news, useful reads, industry updates, and the memes you didn’t know you needed.

Explore what’s inside the newsletter →

Blog

The Beginner’s Guide to SEO ↗

A beginner’s guide to SEO basics, with resources to help you start ranking higher.


Product


© 2026 Ahrefs Pte. Ltd. (201227417H) 16 Raffles Quay, #33-03 Hong Leong Building, Singapore 048581

Legal info

Privacy Policy

Cookie Settings

Terms of Service

English