Hello everyone. I recently added a second language (Greek) in my oc and I'm trying to include it in my sitemap, I use different SEO_URL for each language. The extension that I use is the default one and it generates an xml based on the current language each time, at least that's what I understand.
I red that it's not a good idea to add two separate xml sitemaps in google, it hurts seo and thinks they are two different things. Is there another extension that can do this in a single xml with hreflang ?
Version 3.0.3.8
default theme
PHP: 7.3.13
I red that it's not a good idea to add two separate xml sitemaps in google, it hurts seo and thinks they are two different things. Is there another extension that can do this in a single xml with hreflang ?
Version 3.0.3.8
default theme
PHP: 7.3.13
The default sitemap extension doesn't support this functionality out of the box. You'll need to review the code in:
To achieve the desired output, you must modify the code accordingly. This includes adapting it to cover all relevant parts of your site, such as products, categories, manufacturers, and information pages, so they respond correctly for each language.catalog/controller/extension/feed/google_sitemap.php
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
"I red that it's not a good idea to add two separate xml sitemaps in google, it hurts seo and thinks they are two different things."antmagn wrote: ↑Fri Jul 25, 2025 4:10 pmHello everyone. I recently added a second language (Greek) in my oc and I'm trying to include it in my sitemap, I use different SEO_URL for each language. The extension that I use is the default one and it generates an xml based on the current language each time, at least that's what I understand.
I red that it's not a good idea to add two separate xml sitemaps in google, it hurts seo and thinks they are two different things. Is there another extension that can do this in a single xml with hreflang ?
Version 3.0.3.8
default theme
PHP: 7.3.13
That is incorrect, you can submit as many sitemaps as you like.
easiest way is to create seperate sitemaps per language, just copy the original controller and set the language.
For details sitemap you can read from google official source
https://developers.google.com/search/do ... ld-sitemap
As per Google
You might not need a sitemap if:
https://developers.google.com/search/do ... ld-sitemap
As per Google
You might not need a sitemap if:
- Your site is "small". By small, we mean about 500 pages or fewer on your site. Only pages that you think need to be in search results count toward this total.
Your site is comprehensively linked internally. This means that Googlebot can find all the important pages on your site by following links starting from the home page.
You don't have many media files (video, image) or news pages that you want to show in search results. Sitemaps can help Google find and understand video and image files, or news articles, on your site. If you don't need these results to appear in Search you might not need a sitemap.
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
Who is online
Users browsing this forum: No registered users and 11 guests