why pages aren’t indexed- blocked by robots txt how to fix

To resolve a “blocked by robots txt” error, it is necessary to modify or eliminate the conflicting Disallow directive within your website’s robots.txt file.

  • Search Console
  • Pages
  • Why pages aren’t indexed
  • Blocked by robots.txt

Step by Step process for fixing of blocked by robots txt

  • Locate the file: Identify your robots.txt file situated in your site’s root directory (typically yourdomain.com/robots.txt). Content management systems such as WordPress or Shopify may employ virtual or dynamically generated files that are administered through SEO plugins or hosting configurations.
  • Identify the blocking rule: Access Google Search Console Help documentation or employ the URL Inspection tool to determine the precise line of code preventing search engine crawlers from accessing your site. Search for directives such as Disallow: / or specific pathways that restrict access to critical pages.
  • Edit or remove the restriction: Remove the problematic Disallow directive, or modify it to an Allow rule should you wish to enable search engines to index the content. To allow all crawlers unrestricted access, utilize.

Leave a Comment