Indexability · Blocked by robots.txt

Link to a disallowed internal URL

An internal URL is blocked by robots.txt. It cannot be crawled, though it can still be indexed from links.

How this page is built

This page links to the disallowed page, which is blocked in robots.txt.

Why it matters

A URL blocked by robots.txt cannot be crawled, but it can still be indexed if other pages link to it. Google then shows it in results without a description, because it has never been allowed to read the page.

Internal links to blocked URLs also send link equity to a page that cannot pass it on, and they can show that pages are being blocked by mistake.

How to check it

Run a crawl that respects robots.txt and filter for internal URLs that are blocked by it. Each one is listed with the pages that link to it. In Google Search Console, look for addresses reported as indexed though blocked by robots.txt, which shows which blocked pages are appearing in results anyway.

How to fix it

Decide whether the linked page should be visible in search at all. If it should, remove the robots.txt rule that blocks it.

If it should not, stop linking to it from crawlable pages where possible, and use a noindex directive instead of a robots.txt block. Remember that Google can only see a noindex on a page it is allowed to crawl.

Back to all tests