Mobile app version of vmapp.org
Login or Join
Cofer257

: Robots.txt disallow all except one directory and access to sitemap robots.txt containts following instructions: User-agent: * Allow: /public/ Disallow: / Sitemap: http://sitedomain.com/sitemapindex.xml

@Cofer257

Posted in: #RobotsTxt #Sitemap

robots.txt containts following instructions:

User-agent: *
Allow: /public/
Disallow: /
Sitemap: sitedomain.com/sitemapindex.xml

it seems that in this case sitemapindex won't be accessible for the search crawler and should be moved to public folder, is it correct or crawler will process the sitemap in any case?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cofer257

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jamie184

sitemapindex won't be accessible for the search crawler and should be moved to public folder


Yes, that is correct, the XML sitemap won't be crawlable unless moved to the /public/ folder.

Alternatively, you could add an exception for your sitemap:

Allow: /sitemapindex.xml

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme