Closed prikkprikkprikk closed 10 months ago
According to the discord discussion it works when reverting the changes introduced here: https://github.com/studio1902/statamic-peak-seo/pull/25
Bug confirmed. I'll reverse that commit. Thanks.
Opening again. There's probably a better solution.
Just for the record: Social Image Urls are affected by this too.
@prikkprikkprikk Do the changes in that PR (#35) solve your issue?
Amazing. Thank you Marco!
@prikkprikkprikk Do the changes in that PR (#35) solve your issue?
Yes! Thank you!
Bug description
In my Norwegian/English multisite,
/sitemaps.xml
lists both default/sitemap.xml
and/en/sitemap.xml
, however, when I visit the latter URL, I get a 404 error.Doing
php artisan route:list
shows onlysitemap.xml
andsitemaps.xml
, noten/sitemap.xml
or any other sitemap related routes.If I clear the route cache, the English sitemap works, but if I cache the routes with
php artisan route:cache
, it gives a 404 error again.How to reproduce
/
and the other at/en/
, for example.php artisan route:cache
to have the/en/sitemap.xml
url give 404.php artisan route:clear
to have it work again.(Disclaimer: Not tested with a fresh Peak install, only on our setup.)
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response