-
Notifications
You must be signed in to change notification settings - Fork 157
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
[ BUG ] Incorrect sitemap path in sitemap index #359
Comments
Affects gatsbyjs/gatsby#31167 |
@moonmeister I'll be releasing a version shortly that has support for a publicBaseUrl so you can specify a non-root base url for sitemaps. |
This doesn't appear to be fixed. |
Well...now I'm just confused. So you added |
Destination dir is the location on disk. Publicbasepath is the base URL for
site map files. The location you write the files to may coincidentally
share the same path.
…On Sun, May 2, 2021 at 11:02 AM Alex Moon ***@***.***> wrote:
Well...now I'm just confused. So you added publicBasePath but
destinatioDir already existed to do this...or is destination dir suppose
to be something different?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#359 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHW3FCHUTNGZEMKHL7B3TTTLWHSPANCNFSM435Y33BA>
.
|
Okay, that makes sense now, maybe i missed some docs clarifying that but didn't realize that was the case. |
Describe the bug
when using
simpleSitemapAndIndex
I noticed in thesitemap-index.xml
the paths to the sub index paths don't cotain the subfolder (destinationDir
) in the path.Expected behavior
The location should contain the destination directory.
Context:
The text was updated successfully, but these errors were encountered: