Header ads

Resolve Index Warning Messages in Search Console

Resolve Index Warning Messages in Search Console

Recently a Warning Message About Index appeared in Search Console , this problem arises because the robot.txt function is less than optimal.


By default robot.txt on Blogger uses this format if it is disabled

User-agent: Mediapartners-Google
Disallow:

User-agent: *
Disallow: /search
Allow: /

Sitemap: https://www.domain_anda.com/sitemap.xml

This will be a problem if on your blog you have a navigation menu, breadcrumb, numbering navigation widget, archive widget and label widget. Because Google bot will still crawl your blog through these functions.

To overcome this problem, you only need to change the format of robot.txt so that later Google bot can crawl without blocking the index of robot.txt and can also be displayed in search engine results.

On the Blogger dashboard, click the Settings menu Search Preferences > Crawlers and Indexing


Then replace or activate the previous robot.txt function with this format

User-agent: *
Disallow:

Sitemap: https://www.domain_anda.com/sitemap.xml
Sitemap: https://www.domain_anda.com/atom.xml?redirect=false&start-index=1&max-results=500
Sitemap: https://www.domain_anda.com/feeds/posts/default
Sitemap: https://www.domain_anda.com/sitemap-pages.xml

Change the code marked with your blog address.

Add a new line if your blog has more than 500 or 1500 posts, for example like this

User-agent: *
Disallow:

Sitemap: https://www.domain_anda.com/sitemap.xml
Sitemap: https://www.domain_anda.com/atom.xml?redirect=false&start-index=1&max-results=500
Sitemap: https://www.domain_anda.com/atom.xml?redirect=false&start-index=501&max-results=500
Sitemap: https://www.domain_anda.com/atom.xml?redirect=false&start-index=1001&max-results=500
Sitemap: https://www.domain_anda.com/atom.xml?redirect=false&start-index=1501&max-results=500
Sitemap: https://www.domain_anda.com/feeds/posts/default
Sitemap: https://www.domain_anda.com/sitemap-pages.xml

Examples like this image and click the Save changes button


Then click the Theme menu Edit HTML > Add meta tags below under the code<head>

<b:if cond='data:view.isArchive'>
<meta content='noindex,noarchive' name='robots'/>
</b:if>
<b:if cond='data:blog.searchQuery'>
<meta content='noindex,noarchive' name='robots'/>
</b:if>
<b:if cond='data:blog.searchLabel'>
<meta content='noindex,noarchive' name='robots'/>
</b:if>

If so, click the Save theme button and submit the new robot.txt here Robot Testing Tools . Select the blog.



Then fill in the fields on the page with the new robot.txt format and click the Submit button to speed up the robot.txt change from your blog.


That's how to Overcome the Index Warning Message in Search Console , hopefully useful and respectful.

SOURCE ::https://www.arlinadzgn.com

Post a Comment

0 Comments