Multi-Lingual Joomla Sitemaps with OSMap

Multi-Lingual Joomla Sitemaps with OSMap

Do you have a multi-lingual Joomla website? Would you like to improve your site's SEO?

If both answers are yes, you're in the right place. OSMap is the best Joomla sitemap extension.

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":

go to components osmap free

This will bring you to the "OSMap Free: Sitemaps" administrative screen. There  you want to click "XML":

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:

www.yoursite.com/en/?option=com_osmap&view=xml&tmpl=component&id=1

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.

www.yoursite.com/es/?option=com_osmap&view=xml&tmpl=component&id=1

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:

osmap multi-lingual joomla seo

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.


What's Next?

Save $1000's when you sign up to the Everything Club today! You' ll get access to all our extensions, templates, and Joomla training.