Sitemap Could Not Get Fetched For Non-www Version

by ADMIN 50 views

Introduction

As a website owner, ensuring that your website is properly indexed by search engines is crucial for its visibility and ranking. One of the essential steps in this process is creating and submitting a sitemap to Google Search Console (GSC). However, you may encounter issues when trying to fetch your sitemap, especially if your website has a non-www version that is redirected to the www version. In this article, we will discuss the common problem of sitemap not getting fetched for non-www version and provide a step-by-step guide to resolve it.

Understanding Sitemap and Google Search Console

Before we dive into the solution, let's briefly understand what a sitemap is and how Google Search Console works.

What is a Sitemap?

A sitemap is an XML file that lists all the pages on your website, including their URLs, last update dates, and other metadata. It helps search engines like Google to crawl and index your website's pages efficiently. A sitemap can be submitted to Google Search Console to inform the search engine about the existence of your website's pages.

What is Google Search Console?

Google Search Console (GSC) is a free tool provided by Google to help website owners monitor and maintain their website's presence in Google search results. It provides insights into website traffic, search engine rankings, and other essential metrics. GSC also allows you to submit sitemaps, request crawling, and fix crawl errors.

The Problem: Sitemap Not Getting Fetched for Non-WWW Version

If your website has a non-www version that is redirected to the www version, you may encounter issues when trying to fetch your sitemap in Google Search Console. This is because Google may be crawling and indexing the www version of your website instead of the non-www version.

Symptoms of the Problem

  • Your sitemap is not getting fetched in Google Search Console.
  • Your website's pages are not being indexed by Google.
  • You are seeing a "Not Found" error when trying to access your sitemap.

Causes of the Problem

There are several reasons why your sitemap may not be getting fetched for the non-www version of your website:

  • Redirects: If your website has a non-www version that is redirected to the www version, Google may be crawling and indexing the www version instead of the non-www version.
  • Canonicalization: If your website has a canonical URL that points to the www version, Google may be following the canonical URL and ignoring the non-www version.
  • Sitemap submission: If you have submitted your sitemap to Google Search Console using the www version, Google may be ignoring the non-www version.

Solutions to the Problem

To resolve the issue of sitemap not getting fetched for the non-www version of your website, follow these steps:

Step 1: Verify Your Website in Google Search Console

Before you can submit your sitemap, you need to verify your website in Google Search Console. To do this:

  1. Go to Google Search Console and sign in with your Google account.
  2. Click on the "Add a property" button and enter your website's.
  3. Verify your website ownership by following the instructions provided by Google.

Step 2: Submit Your Sitemap

Once you have verified your website, you can submit your sitemap to Google Search Console. To do this:

  1. Go to Google Search Console and select your website property.
  2. Click on the "Sitemaps" tab and click on the "Submit a sitemap" button.
  3. Enter the URL of your sitemap (e.g., https://rangefarda.ir/sitemap_index.xml) and click on the "Submit" button.

Step 3: Check Your Sitemap Status

After submitting your sitemap, check its status in Google Search Console. To do this:

  1. Go to Google Search Console and select your website property.
  2. Click on the "Sitemaps" tab and look for your sitemap in the list.
  3. Check the status of your sitemap (e.g., "Indexed", "Pending", or "Error").

Step 4: Resolve Redirect Issues

If you have redirects set up on your website, you may need to resolve them to ensure that Google is crawling and indexing the correct version of your website. To do this:

  1. Check your website's redirects using a tool like Screaming Frog or Ahrefs.
  2. Resolve any redirects that are pointing to the wrong version of your website.

Step 5: Check Canonicalization

If you have canonical URLs set up on your website, you may need to check them to ensure that they are pointing to the correct version of your website. To do this:

  1. Check your website's canonical URLs using a tool like Screaming Frog or Ahrefs.
  2. Resolve any canonical URLs that are pointing to the wrong version of your website.

Conclusion

In conclusion, the problem of sitemap not getting fetched for the non-www version of your website can be resolved by following the steps outlined in this article. By verifying your website in Google Search Console, submitting your sitemap, checking its status, resolving redirect issues, and checking canonicalization, you can ensure that your website's pages are being crawled and indexed by Google. Remember to always follow best practices for sitemap submission and website optimization to ensure that your website is visible and ranking well in search engine results.

Additional Tips and Resources

  • Use a sitemap generator: Use a sitemap generator like Screaming Frog or Ahrefs to create and submit your sitemap.
  • Check your website's crawl errors: Check your website's crawl errors in Google Search Console to identify any issues that may be preventing your sitemap from getting fetched.
  • Use Google's sitemap guidelines: Use Google's sitemap guidelines to ensure that your sitemap is properly formatted and submitted.
  • Monitor your website's performance: Monitor your website's performance using tools like Google Analytics and Search Console to identify any issues that may be affecting your website's visibility and ranking.

Frequently Asked Questions

Q: Why is my sitemap not getting fetched in Google Search Console?

A: There are several reasons why your sitemap may not be getting fetched in Google Search Console, including redirects, canonicalization, and sitemap submission issues.

Q: How do I resolve redirect issues on my website?

: To resolve redirect issues on your website, use a tool like Screaming Frog or Ahrefs to check your website's redirects and resolve any issues that are pointing to the wrong version of your website.

Q: How do I check canonicalization on my website?

A: To check canonicalization on your website, use a tool like Screaming Frog or Ahrefs to check your website's canonical URLs and resolve any issues that are pointing to the wrong version of your website.

Q: How do I submit my sitemap to Google Search Console?

Q: What is a sitemap, and why is it important for my website?

A: A sitemap is an XML file that lists all the pages on your website, including their URLs, last update dates, and other metadata. It helps search engines like Google to crawl and index your website's pages efficiently. A sitemap is essential for your website's visibility and ranking in search engine results.

Q: Why is my sitemap not getting fetched in Google Search Console?

A: There are several reasons why your sitemap may not be getting fetched in Google Search Console, including:

  • Redirects: If your website has a non-www version that is redirected to the www version, Google may be crawling and indexing the www version instead of the non-www version.
  • Canonicalization: If your website has canonical URLs that point to the www version, Google may be following the canonical URL and ignoring the non-www version.
  • Sitemap submission: If you have submitted your sitemap to Google Search Console using the www version, Google may be ignoring the non-www version.

Q: How do I resolve redirect issues on my website?

A: To resolve redirect issues on your website, use a tool like Screaming Frog or Ahrefs to check your website's redirects and resolve any issues that are pointing to the wrong version of your website. You can also use Google Search Console to check your website's crawl errors and identify any issues that may be preventing your sitemap from getting fetched.

Q: How do I check canonicalization on my website?

A: To check canonicalization on your website, use a tool like Screaming Frog or Ahrefs to check your website's canonical URLs and resolve any issues that are pointing to the wrong version of your website. You can also use Google Search Console to check your website's crawl errors and identify any issues that may be preventing your sitemap from getting fetched.

Q: How do I submit my sitemap to Google Search Console?

A: To submit your sitemap to Google Search Console, go to Google Search Console, select your website property, and click on the "Sitemaps" tab. Then, click on the "Submit a sitemap" button and enter the URL of your sitemap.

Q: Why is it important to verify my website in Google Search Console?

A: Verifying your website in Google Search Console is essential to ensure that your website is properly indexed by Google. It also allows you to submit your sitemap, request crawling, and fix crawl errors.

Q: How do I check my website's crawl errors in Google Search Console?

A: To check your website's crawl errors in Google Search Console, go to Google Search Console, select your website property, and click on the "Crawl" tab. Then, click on the "Crawl errors" tab to view any errors that may be preventing your sitemap from getting fetched.

Q: What are some common issues that can prevent my sitemap from getting fetched?

A: Some common issues that can prevent your s from getting fetched include:

  • Redirects: If your website has a non-www version that is redirected to the www version, Google may be crawling and indexing the www version instead of the non-www version.
  • Canonicalization: If your website has canonical URLs that point to the www version, Google may be following the canonical URL and ignoring the non-www version.
  • Sitemap submission: If you have submitted your sitemap to Google Search Console using the www version, Google may be ignoring the non-www version.
  • Crawl errors: If your website has crawl errors, Google may not be able to crawl and index your website's pages.

Q: How do I monitor my website's performance in Google Search Console?

A: To monitor your website's performance in Google Search Console, go to Google Search Console, select your website property, and click on the "Performance" tab. Then, click on the "Overview" tab to view your website's traffic, impressions, and clicks.

Q: What are some best practices for sitemap submission and website optimization?

A: Some best practices for sitemap submission and website optimization include:

  • Use a sitemap generator: Use a sitemap generator like Screaming Frog or Ahrefs to create and submit your sitemap.
  • Check your website's crawl errors: Check your website's crawl errors in Google Search Console to identify any issues that may be preventing your sitemap from getting fetched.
  • Use Google's sitemap guidelines: Use Google's sitemap guidelines to ensure that your sitemap is properly formatted and submitted.
  • Monitor your website's performance: Monitor your website's performance using tools like Google Analytics and Search Console to identify any issues that may be affecting your website's visibility and ranking.

Conclusion

In conclusion, the problem of sitemap not getting fetched for the non-www version of your website can be resolved by following the steps outlined in this article. By verifying your website in Google Search Console, submitting your sitemap, checking its status, resolving redirect issues, and checking canonicalization, you can ensure that your website's pages are being crawled and indexed by Google. Remember to always follow best practices for sitemap submission and website optimization to ensure that your website is visible and ranking well in search engine results.