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

Customisable sitemap paths #1184

Open
maehnerm opened this issue Jul 15, 2022 · 1 comment
Open

Customisable sitemap paths #1184

maehnerm opened this issue Jul 15, 2022 · 1 comment

Comments

@maehnerm
Copy link

Is your feature request related to a problem? Please describe.

We have multiple applications running under the same domain. All Craft subpages are served under "/explore/" and the homepage under "/" but anything else is pointing to other applications. Since SEOmatic creates the sitemap under "/sitemaps-1-sitemap.xml" it doesn't hit Craft and is not accessible.

Describe the solution you would like

It would be nice if we could customise the path were the sitemap is generated to. In our case "/explore/sitemaps-1-sitemap.xml".

Describe alternatives you have considered

Alternatively we have to specifically allow traffic for paths like "/sitemaps-1-*.xml" to point to our Craft application from the server site.

@khalwat
Copy link
Collaborator

khalwat commented Feb 10, 2023

SEOmatic will use whatever you have your Site URL set to -- you could probably just set it to:

https://example.com/explore/

...and it should work. Or are you saying that Craft also serve the homepage at /?

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

2 participants