How do I fix an error in my Sitemap.xml where the referenced hostname does not match the requesting hostname in Webflow?

Published on
September 22, 2023

To fix the error in your Sitemap.xml where the referenced hostname does not match the requesting hostname in Webflow, you need to ensure that the URLs in your sitemap match the URLs on your website. Here's a step-by-step guide on how to do it:

  1. Login to your Webflow account and access the project where the error is occurring.
  2. Go to the Pages panel, located in the left sidebar.
  3. In the Pages panel, find the page with the wrong URL in your sitemap.
  4. Click on the page to open its settings.
  5. In the Page Settings, make sure the "URL" field is correct and matches the page's actual URL on your website. The URL should include the correct hostname (e.g., www.yourdomain.com).
  6. After updating the URL, click "Save" to apply the changes.
  7. Repeat steps 3-6 for any other pages with incorrect URLs in your sitemap.
  8. Once you have fixed the URLs for all the affected pages, you need to regenerate the sitemap.
  9. Go back to the main Webflow dashboard and click on the "SEO" tab.
  10. In the SEO settings, select the "Sitemap" tab.
  11. Click on the "Regenerate Sitemap" button.
  12. After the sitemap is regenerated, verify that the URLs in the sitemap now match the URLs on your website by checking the sitemap file.
  13. If everything looks correct, upload the updated sitemap to your website's root directory.
  14. Lastly, resubmit the sitemap to search engines through their respective webmaster tools (e.g., Google Search Console, Bing Webmaster Tools) to ensure the changes are recognized.

By following these steps, you should be able to fix the error in your Sitemap.xml where the referenced hostname does not match the requesting hostname. Remember to routinely check and update your sitemap as you make changes to your website's URLs to ensure search engines can properly crawl and index your pages.

Additional Questions:

  1. How do I regenerate a sitemap in Webflow?
  2. What is a Sitemap.xml file?
  3. How do I submit a sitemap to Google Search Console?