You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not know if this is proper for a sitemap, but I would like to suggest adding an option in the plugin to allow domain name change based on language.
Option 1: Based on the language code, force domain/subdomain name
Based on the page language code.
Like if the language code of the page is fr then always use domain-fr.com without the /[lang] url prefix.
Or, if the language code of the page is en then always use en.domain.com without the /[lang] url prefix.
...
Option 2: Based on "location" URL, do a find-replace
If a location URL begins with X, then change it to Y.
Change location https://domain-fr.com/en/ to https://domain-en.com/
Change location https://domain-fr.com/pt/ to https://domain-pt.com/
Change location https://domain-en.com/fr/ to https://domain-fr.com/
Change location https://domain-en.com/pt/ to https://domain-pt.com/
Change location https://domain-pt.com/fr/ to https://domain-fr.com/
Change location https://domain-pt.com/en/ to https://domain-en.com/
...
So for example, a location that would have https://domain-fr.com/en/page1 would be changed to https://domain-en.com/page1.
But any of these two options would be nice to have a very precise location URL for those who have a multilingual site with multiple domains or subdomains.
Kind regards.
The text was updated successfully, but these errors were encountered:
Hello,
I do not know if this is proper for a sitemap, but I would like to suggest adding an option in the plugin to allow domain name change based on language.
Option 1: Based on the language code, force domain/subdomain name
Based on the page language code.
fr
then always use domain-fr.com without the /[lang] url prefix.en
then always use en.domain.com without the /[lang] url prefix....
Option 2: Based on "location" URL, do a find-replace
If a location URL begins with X, then change it to Y.
Change location
https://domain-fr.com/en/
tohttps://domain-en.com/
Change location
https://domain-fr.com/pt/
tohttps://domain-pt.com/
Change location
https://domain-en.com/fr/
tohttps://domain-fr.com/
Change location
https://domain-en.com/pt/
tohttps://domain-pt.com/
Change location
https://domain-pt.com/fr/
tohttps://domain-fr.com/
Change location
https://domain-pt.com/en/
tohttps://domain-en.com/
...
So for example, a location that would have
https://domain-fr.com/en/page1
would be changed tohttps://domain-en.com/page1
.But any of these two options would be nice to have a very precise location URL for those who have a multilingual site with multiple domains or subdomains.
Kind regards.
The text was updated successfully, but these errors were encountered: