diff --git a/packages/gatsby-plugin-sitemap/README.md b/packages/gatsby-plugin-sitemap/README.md index 2aa64b702cec6..630fba2177c33 100644 --- a/packages/gatsby-plugin-sitemap/README.md +++ b/packages/gatsby-plugin-sitemap/README.md @@ -54,7 +54,7 @@ The [`default config`](https://github.com/gatsbyjs/gatsby/blob/master/packages/g The options are as follows: -- `output` (string = `/sitemap`) Folder path where sitemaps are stored. +- `output` (string = `/`) Folder path where sitemaps are stored. - `createLinkInHead` (boolean = true) Whether to populate the `` of your site with a link to the sitemap. - `entryLimit` (number = 45000) Number of entries per sitemap file, a sitemap index and multiple sitemaps are created if you have more entries. - `excludes` (string[] = []) An array of paths to exclude from the sitemap. While this is usually an array of strings it is possible to enter other data types into this array for custom filtering. Doing so will require customization of the [`filterPages`](#filterPages) function. diff --git a/packages/gatsby-plugin-sitemap/src/options-validation.js b/packages/gatsby-plugin-sitemap/src/options-validation.js index f24dc6beec44f..2f3f6d92e8412 100644 --- a/packages/gatsby-plugin-sitemap/src/options-validation.js +++ b/packages/gatsby-plugin-sitemap/src/options-validation.js @@ -13,7 +13,7 @@ export const pluginOptionsSchema = ({ Joi }) => Joi.object({ plugins: Joi.array().strip(), output: Joi.string() - .default(`/sitemap`) + .default(`/`) .description(`Folder path where sitemaps are stored in \`public\`.`), createLinkInHead: Joi.boolean() .default(true)