asifikhan

Robots.txt & Sitemap.xml not working

by @asifikhan (118), 9 months ago

My site url is like "https:// www., example.com /ca". I have added the sitemap and robots.txt file manually to my site. When I check manually, the sitemap and the robots.txt file is there. But when I audit my site through different tools, it says my site don't have any sitemap and robots.txt file. How can I solve this problem?

407 Views
0 Upvotes
3 Replies
3 Users
Sort replies:
rootanna507
by @rootanna507 (80), 9 months ago

It is important to have a robots.txt file on your website because it is a file where crawlers look for the content available on your website. You should make sure that the robots.txt file is accessible by the crawlers the same can be checked with the google's official tool.

If you use any CMS like wordpress or joomla, then by installing plugin you can generate the sitemap and robots.txt. On the other side, if you have a website without CMS or developed using any core language then you need to manually generate the same.

The same has happened with me because one of my article on best kodi addons was not accessible by the crawlers.

ojasvi
by @ojasvi (60), 9 months ago

If your robots.txt and sitemap.xml files are not working as expected, there could be several reasons for this issue. Here are a few common troubleshooting steps you can take:

Verify the file location: Make sure that both the robots.txt and sitemap.xml files are placed in the root directory of your website. The root directory is the main folder where your website's files are stored.

Check file permissions: Ensure that the file permissions are set correctly to allow access to these files. The recommended permissions for robots.txt and sitemap.xml are typically 644, which means the owner has read and write permissions, and others have read-only permissions.

Confirm the correct file names: Double-check that the file names are spelled correctly, including proper capitalization. The file should be named "robots.txt" and "sitemap.xml" exactly.

raavikant
by @raavikant (129), 9 months ago

Hi, Use different SEO auditing tools or validators to verify if your sitemap and robots.txt files are being recognized. Some tools may have different ways of identifying and detecting these files, so testing with multiple tools can give you a clearer picture of the issue.

Join the forum to unlock true power of SEO community

You're welcome to become part of SEO Forum community. Register for free, learn and contribute.

Log In Sign up