When XSL Generation is set to No, then one does not get an XML formatted sitemap. I have to save the code that is generated as XML in Firefox and then copy and past it in an XML formater, e.g. www.freeformatter.com / xml-formatter
, to get nicely formatted in XML.
Why not getting the sitemap in XML formatted code when XSL Generation is set to No?
Последнее редактирование: 2 года 10 мес. назад пользователем Per.
True, but it helps when one wants to check the sitemap if it's formatted. Now I have to format it, e.g. by using www.freeformatter.com
to make it more readable.
JL-Sitemaps does a good job to create XML-sitemaps for articles on a multilingual website. It adds hreflang tags and image tags for the intro images.
There're two issues that I have to get in and correct manually: JL-Sitemap does not add the hreflang tags of he homepage in the default language (English), which it does in the other language (Spanish). Therefore I have to add this manually.
This is what this part of the code looks like after the XML-code has been formatted, but before my changes:
Furthermore, the hreflang are set to language and country specific variables for the two languages. This create a warning when validating the sitemap, because it's expected that x-default should not be country specific. Therefore I have to replace en-GB with en.
This is what the same code look like after my changes:
It would be handy if the XML-sitemap would be formatted to start with.
The Kunena extension does not work equal well on a multilingual website. It might partly depend on the fact that Kunena isn't really developed for multilingual websites, but by having one section each for English and Spanish, then it works fairly well. The problem is that the sitemap created by JL-Sitemaps even put the treads in the Spanish section in the English language version. Therefore, I have to correct it manually.
Overall JL-Sitemaps does a good job and it's an advantage that static sitemaps are generated, because then one can make manual corrections of the sitemap manually if needed.
Последнее редактирование: 2 года 9 мес. назад пользователем Per.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.