Do you have a multi-lingual Joomla website? Would you like to improve your site's SEO?
In this tutorial, we will show you how to create sitemaps for a multi-lingual site using OSMap.
Step #1. Install and setup OSMap
Your first step would be to install OSMap extensions on your Joomla site.
If you are new to Joomla, you will find detailed instructions on how to install OSMap here.
Step #2. One sitemap for all the languages
Once you install OSMap on your Joomla site, OSMap will create a new default sitemap for you. You can find this sitemap by going to "Components" > "OSMap Free":
This will bring you to the "OSMap Free: Sitemaps" administrative screen. There you want to click "XML":
If you have a multi-lingual Joomla site, the "XML" link will open a sitemap for your site's default language. Often the default language will be English. In such a case, your sitemap URL will most likely look like this:
To get the sitemap for other languages, you would want to replace "en" in the URL with the two-letter code for your language. For example, replace "en" with "es" to get the Spanish language sitemap.
Repeat the process for other languages installed at your Joomla site.
Excellent. At this point, you would have URLs of your Joomla sitemaps for each language installed on your site.
Now is a perfect time to submit each of the sitemaps to Google.
Step #3. Submit the URL of the sitemap of each language to Google
Now you would go to Google Search Console and submit them a URL of the sitemap of each language:
Please, keep in mind that all the content, such as menu items, articles, modules, contacts, etc. must be assigned to a specific language. If you have content assigned to all languages, those links will appear in all your sitemaps.
Note: this tutorial was originally published on April 1, 2016.
Save $1000's when you sign up to Joomlashack's Everything Club.
You will get access to all our 31 extensions, templates, and Joomla training.