You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a website with two languages using the default Kirby setup where the language code is prefixed on all url:s.
www.example.com/sv/
www.example.com/en/
This causes problems with the generated sitemap url in /robots.txt.
In the /robots.txt, the sitemap url is generated as follows:
Sitemap: https://www.example.com/sv/sitemap.xml
This url generates a 404. The correct url should be:
Sitemap: https://www.example.com/sitemap.xml
For my site, I have solved this temporarily by setting the sitemap url manually in config. But it would be great if your otherwise fantastic plugin could handle this natively.
The text was updated successfully, but these errors were encountered:
I have a website with two languages using the default Kirby setup where the language code is prefixed on all url:s.
This causes problems with the generated sitemap url in
/robots.txt
.In the
/robots.txt
, the sitemap url is generated as follows:This url generates a 404. The correct url should be:
For my site, I have solved this temporarily by setting the sitemap url manually in config. But it would be great if your otherwise fantastic plugin could handle this natively.
The text was updated successfully, but these errors were encountered: