Sitemap hreflang formatted


Is there any way to have the sitemap.xml which is produced by concrete5 to be formatted as per google's multilingual suggestions?

View Replies:
mlocati replied on at Permalink Reply
If you are referring to concrete5 5.6 and not 5.7, the multilingual (aka internationalization) addon already jas an automated job that creates the multilingual sitemap.
BTW it must be activated:
edit your config/site.php file and add this line of code:
Once you have installed the multilingual package, in the automated jobs you'll have two jobs that create the sitemap. The "standard" one and the "multilingual" one. You should delete the former and keep the latter (otherwise you risk that the former job overwrites the sitemap generated by the latter job).
mlocati replied on at Permalink Reply
For the concrete5 5.7 series I've just proposed this change:

If the core team accepts it, it'll be included in the next release.
Responsive replied on at Permalink Reply
I have on 5.7 Multilingual Settings :
1. Attempt to use visitor's locale based on their browser information
2. Redirect home page to default locale.

On google webmaster I have setup property's
How do we deal with this when google is asking for sitemap when it exists in
a575606 replied on at Permalink Reply
Thank you very much for the detailed replies. Yes, I'm on 5.7, so great that you proposed the change for the future, and too bad that functionality you mentioned in 5.6 wasn't carried over. In any case, it's not absolutely essential, but every little boost we can have in google helps.

Appreciate the feedback.