How do I create sitemaps?

Hi there,

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.

@Madute There are several ways.

Perhaps the most obvious is to use the Netlify Sitemaps plugin:

Discover the Top 10 Netlify Build Plugins - Discover the Top 10 Netlify Build Plugins

Another way would be to use a program such as Scrutiny to create your sitemap:

There are also online sitemap generators, such as this one:

You can even download a script to run against your site files and create one yourself:

1 Like

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 ?

You can certainly do any of the things that @gregraven suggested :slight_smile: I think the plugin you linked is probably the simplest, if it works well for you.

I’ve installed the plugin but still now showing up on google? am I missing something

This shows up on google cconsole

@awrighty What does the file itself look like? Is it HTML or XML?

we just put our URL into that box and that’s how it came out are we doing this right?

@awrighty No, you have to enter the URL of the sitemap file. In your case, that would be:

It looks to be a valid sitemap.xml file, but it is for the website 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 but as you said it show a lot of errors about ( not a clue that this is ) is our domain showing something else or

in this image line 7 it talks about design tips etc nothing to do with our website

@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.

Shall we just remove the Netlify plugin and reinstall? we wouldn’t have a clue how to edit and config the file

@awrighty Me neither. Sorry.

Thanks for your help anwyas

hi @awrighty have the same problem, are you resolve this or not yet, if yes can you write me please the steps that you used , THANKS


Looks like you’ve a few duplicates:

It would be best if you don’t do that going forward.

@hrishikesh Im not found the answer yet, can I have some help

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.