How to Fix Google consol No referring sitemaps detected ?

No referring sitemaps detected.

If your website does not have a sitemap or you are not utilizing one, you can remove the "Sitemap" line from your robots.txt file. Here's the modified robots.txt file without the sitemap declaration:



User-agent: *
Disallow: /search
Allow: /
Sitemap: https://example.com/sitemap.xml

User-agent: Mediapartners-Google
User-agent: Adsbot-Google
User-agent: Googlebot
User-agent: Googlebot-Image
User-agent: Googlebot-Video
User-agent: Googlebot-Mobile
Disallow: 


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

User-agent: Mediapartners-Google
User-agent: Adsbot-Google
User-agent: Googlebot
User-agent: Googlebot-Image
User-agent: Googlebot-Video
User-agent: Googlebot-Mobile
Disallow:

Please note that the absence of a sitemap declaration in the robots.txt file does not prevent search engines from indexing and crawling your website. However, having a sitemap can help search engines discover and understand the structure of your website more efficiently.

Comments

Popular posts from this blog

How to fix SSL Certificate Issues?

How to Fix Website Mixed Content Issues?

How to Fix Mobile Responsiveness Issues?

Popular posts from this blog

How to fix SSL Certificate Issues?

How to Fix Website Mixed Content Issues?

How to Fix Mobile Responsiveness Issues?