Open janstieler opened 9 years ago
It doesn't seem to work with multilang enabled. I haven't found the time to look further into it.
Related line: https://github.com/getkirby/kirby/blob/master/kirby.php#L526
Hi, yes I use a multilanguage site.
:+1: for multilanguage support - i think it will need a sitemap per language like sitemap.en.xml and sitemap.da.xml but im not entirely sure what Google requires nowadays.
Hi, I can confirm that the problem occurs with multi language support enabled.
I'm not able to provide a fix atm, but:
kirby()->routes(...)
and not the action inside. I haven't found any spec how the routes
method must be used differently, when multilanguage is turned on.Maybe that helps someone...
HI, I use kirby 2 and I got the error
Fatal error: Call to a member function code() on a non-object in /homepages/17/d39311005/htdocs/sevendays/kirby/kirby.php on line 526
if I call the example.com/sitemap.xmlDo you know what I'm doing wrong?
Cheers