-
hi Guys,
during testing our website myseparateworld.com we found 2 warning related to robots.txt file.
is this something that your team could help us with? We believe that Rank Math may know the answer to that problem:thanks very much for your help!
Best regards,
Dariusz0 errors 2 warnings
Line 3
Allow: /wp-admin/admin-ajax.phpThe standard practice is not to include the Allow order, even though major crawlers such as Google and Bing will include it.
In a case where both Allow and Disallow clauses are used on the same URL, only the most specific rule will be applied.
It’s better to err on the side of caution and make your robots.txt code compatible with all crawlers, if you want to have a single file crawled in an otherwise closed off directory, you should first enter in the Allow clause followed by the Disallow.
This still isn’t the standard, but it is still an accepted practice.
Line 5Sitemap support is not considered “Best Practice”, despite the fact that Google and Bing support it.
The ticket ‘robots.txt test has 2 warnings – how can we fix it’ is closed to new replies.