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.

This topic contains 2 replies, has 2 voices.

Last updated by rinkd 1 year, 9 months ago.

Assisted by: Christopher Amirian.

Author Posts
April 2, 2023 at 9:52 am #13383837

rinkd

Dear sir/madam,

I am working on setting up WPML and till now with success. However, there is an issue I am running into. Both the main website and the other domain (WPML's domain per language option) work. But, as soon as I login to /wp-admin/, the URL changes to the WPML/English domain.

I have had this problem before, and I have fixed it by putting define-url rules in my wp-config file to the main domain. However, for some reason the URL is reverted back and the rules do not work anymore. Attached are two screenshots.

What is causing this and how can I let both URL's be the main/.nl domain?

Thank you for your time and efforts.

Best regards,
Ali

SC2 WP Config.png
SC1 WP Settings.png
April 2, 2023 at 10:04 am #13383897

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Would you please check if there is no redirection going on at the server level?

According to this documentation you can test by deactivating WPML and see if the same site shows without redirection or not:

https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/#testing-if-the-domains-are-set-properly

If there is a redirection you need to contact your hosting service provider to fix that Here can be a good starting conversation with them:

https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/#2-configure-the-dns-settings

Thanks.

April 4, 2023 at 4:33 pm #13402597

rinkd

My issue is resolved now (out of nowhere, so that's weird....). Thank you!