Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 1 reply, has 2 voices.

Last updated by Shekhar Bhandari 5 months, 4 weeks ago.

Assisted by: Shekhar Bhandari.

Author Posts
July 21, 2024 at 9:20 am #15983001

misoM

Background of the issue:
This is a site operating on 18 country domains. The default language is en and the default domain is .com. I don't want to publicly show the content on the default WordPress language. I would like to show on .com only a domains tree. I am considering changing the default language of WordPress from reviell.com to something generic like wordpress-942459-3403990.cloudwaysapps.com.

Symptoms:
No specific issue or error message mentioned.

Questions:
Is it possible and safe to change the default language of WordPress from reviell.com to something generic like wordpress-942459-3403990.cloudwaysapps.com at this stage?

July 22, 2024 at 4:50 am #15984635

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello Miso 🙂

Welcome to WPML support.

Since you're using different domains for each language, you'll need to make a few adjustments before changing the default language URL.

Firstly, configure the new domain in the same way as the other domains so it works seamlessly with different domains per language. Essentially, the new domain should also point to the same WordPress installation.

For more details: https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

Once the domain is configured, you can migrate the site to the new domain and set up the Language URL Format under WPML->Languages->Language URL format.

If you plan to replace the domain URL directly through the database and hosting support, you can do that as well. However, you will still need to check and verify the Language URL Format under WPML->Languages->Language URL format afterward and make adjustments if needed.

After changing the domain URL, if you use WPML editors, WPML will prompt you to specify whether the domain is a staging site or has been moved to a new domain. Choose moved to new domain, and everything should work correctly.

For more details: https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-advanced-translation-editor-when-you-move-or-use-a-copy-of-your-site/

In any case, I strongly recommend performing these changes only after making a recent backup.

Let me know if this helps.

Thanks!

The topic ‘[Closed] Changing the default URL’ is closed to new replies.