Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no sitemap generated #109

Open
andrew-davis opened this issue Sep 8, 2023 · 5 comments
Open

no sitemap generated #109

andrew-davis opened this issue Sep 8, 2023 · 5 comments

Comments

@andrew-davis
Copy link

I enabled the plugin on a basic site exported from webflow. No sitemap is generated. Is the netlify.toml file required for this plugin to work? The docs are not clear if it will work just by enabling the plugin or if I need to add the toml file to my project.

@chitgoks
Copy link

Can anyone confirm this? I dont think the plugin works as well. No sitemap.xml is generated

@andrew-davis
Copy link
Author

I was able to get it working. The issue for me was that the site must deploy using a git repo for plugins to work. If the site uses direct file upload to deploy, then plugins do not run. The documentation for this was barely a footnote - it should be much more prominent.

@chitgoks
Copy link

wow thanks for confirming. i did uae file upload all the time because it was just a static file.

does google search work after sitemap is generated? because that is problem #2 for me. googlebot cant fetch the sitemap. says 404 when its actually there.

@neontomo
Copy link

To run this script you should also be running "netlify build" after your regular build process.

For me, it looks like this in my package.json:

"deploy": "npm run build && netlify build && netlify deploy --dir=dist --prod"

@inweblife
Copy link

Can anyone confirm this? I dont think the plugin works as well. No sitemap.xml is generated

I also confirm no sitemap was generated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants