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

Sitemap generation fails for subfolder installs #101

Closed
nilshoerrmann opened this issue Jul 2, 2024 · 1 comment
Closed

Sitemap generation fails for subfolder installs #101

nilshoerrmann opened this issue Jul 2, 2024 · 1 comment

Comments

@nilshoerrmann
Copy link

If a site is installed in a subfolder, e. g. example.com/my-site, the generation of the sitemap will fail because the XSLT path is hardcoded to /sitemap.xsl which resolves to example.com/sitemap.xsl instead of example.com/my-site/sitemap.xsl. See:

$doc->appendChild($doc->createProcessingInstruction('xml-stylesheet', 'type="text/xsl" href="/sitemap.xsl"'));

@tobimori
Copy link
Owner

tobimori commented Jul 2, 2024

Duplicate of #88

@tobimori tobimori marked this as a duplicate of #88 Jul 2, 2024
@tobimori tobimori closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants