how do I create sitemaps for sites that are deployed from Netlify? The site was hosted on Webflow and would now like to migrate to Netlify but I’m not sure if the Sitemaps are going to get affected as theyr were automatically generated by webflow.
Hey I have the same issue from a Webflow site after installing the plug in is that it? or do I need to follow these steps @netlify/plugin-sitemap - npm ?
It looks to be a valid sitemap.xml file, but it is for the website lease.page. I don’t think Google accepts sitemaps at one domain that point to files on a different domain, so you’ll have to fix that, and then re-run the sitemap so it points to files on your cclmechanical site.
Ah okay this is all new to us as we used to use webflow and it just worked so our technical knowledge it very little … we used that URL https://cclmechanical.co.uk/sitemap.xml but as you said it show a lot of errors about lease.page ( not a clue that this is ) is our domain showing something else or
@awrighty Somehow the sitemap generator is picking up a starting point from another site. It probably just needs an edit in a config file to fix it, and then regenerate your site to regenerate the sitemap file.
Both your sites are using manual deploys. These sites do not support build plugins. You would have to generate a sitemap yourself, on your machine and deploy that with your site.
To create sitemaps for your website, follow these steps:
Understand Sitemaps: Familiarize yourself with the purpose of sitemaps. They help search engines discover and index the pages on your website.
Choose a Sitemap Format: Decide whether you want to create an XML sitemap, which is the standard format for search engines, or an HTML sitemap for human visitors.
XML Sitemap Generation:
If you’re using a CMS (Content Management System) like WordPress, you can use plugins such as Yoast SEO or Google XML Sitemaps to automatically generate XML sitemaps.
For custom websites, you can use online XML sitemap generators or create one manually using a text editor.
HTML Sitemap Creation:
You can manually create an HTML sitemap page that lists all the pages on your website and organize them into categories for easy navigation.
Alternatively, some CMS platforms and website builders offer plugins or built-in features to generate HTML sitemaps.
Submit Sitemaps to Search Engines: Once you have created your XML sitemap, submit it to search engines like Google Search Console or Bing Webmaster Tools. This helps search engines discover and crawl your website more efficiently.
Regular Updates: Remember to update your sitemaps whenever you add new pages or make significant changes to your website’s structure.
By following these steps, you can create sitemaps that improve the visibility and accessibility of your website to both users and search engines.