Netlify Build Plugin: Automatically submit your sitemap after every production build
Automatically submit your sitemap to Google and Bing after every production build!
This plugin will notify the search engines after every production build about your latest sitemap. The plugin can be used without any configuration if using the defaults.
Usage
To install, add the following lines to your netlify.toml
file:
[build]
publish = "public"
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
baseUrl = "https://example.com"
sitemapPath = "/sitemap.xml"
providers = [
"google",
"bing"
]
Note: The [[plugins]]
line is required for each plugin, even if you have other plugins in your netlify.toml
file already.