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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 13 replies, has 2 voices.

Last updated by Osama Mersal 3 months, 1 week ago.

Assisted by: Osama Mersal.

Author Posts
December 14, 2023 at 11:42 am #15062745

kajsaR-2

I tried to set up WPML to my site many months ago. It did not work as I have wanted because my hosting provider could not get it to with the parked domain and SSL.

I want to have my Swedish website hidden link as my main site and I want all the English pages to be at fineartphotographyeurope.com

I have now moved to Siteground since you advised me to do so but I still can't get it to work. It says "not valid" when I try to put in my parked domain adress when I choose this in the WPML plug-in on WordPress.

December 14, 2023 at 12:22 pm #15063013

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please let us know when you get the host support team's reply.

Best regards,

December 14, 2023 at 12:33 pm #15063051

kajsaR-2

Hi!
Now I have talked to Site Ground and the domain is not redirecting now since we changed some code. But it still says "not valid" when I try to enter "One domain per language".

Skärmavbild 2023-12-14 kl. 13.27.33-new.png
December 14, 2023 at 12:39 pm #15063099

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

1) There is still a redirect. (Kindly check the attached screenshot)

2) Please uncheck the valid checkbox, save the settings, and resave the permalinks.
After that, please go to Pages-> All Pages, switch the language to English, and try to view any page except the home page.

Best regards,
Osama

2023-12-14_14-36-33.jpg
December 14, 2023 at 12:46 pm #15063137

kajsaR-2

Can you explain it in another way. I don't understand.
It is not kajsasfoto.se I am talking about when I cleared cache and went to fineartphotographyeurope.com it is not going to kajsasfoto.se as before. It just showing the page and the adress is still fineartphotography.com

What can I do next?

December 14, 2023 at 12:49 pm #15063173

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 14, 2023 at 12:59 pm #15063201

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please check the access details because I got the following error. (Invalid login details.)

Best regards,

December 14, 2023 at 7:17 pm #15068245

kajsaR-2

Can you try again? I have registered a new account for FTP now with the same account name and password as I send before.

December 15, 2023 at 1:16 pm #15072629

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

The issue is with the WordPress access details. (Kindly check the attached screenshot)

Best regards,
Osama

2023-12-15_15-15-46.jpg
December 15, 2023 at 2:21 pm #15073549

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I tried to visit the English page but got the same redirection.

So, I checked the SG security plugin, and it logged the same 301 redirections. (Kindly check the attached screenshot)

Does SiteGround register your domains? If yes, please check this redirection with them.

If not, please check the company the domains are registered with—for example, GoDaddy or NameCheap.

Best regards,
Osama

2023-12-15_16-15-14.jpg
December 15, 2023 at 4:01 pm #15074813

kajsaR-2

I got this from SiteGround (where I have my hosting and domains), seems like they are not going to help me.
I choose to move to SiteGround because WPML told me that this was one of the hostings that this function will work with.

Hello Kajsa,

I hope this message finds you well. I wanted to reach out and provide some clarity regarding the issue you're experiencing.

It appears that the behavior you've encountered is actually a standard feature of WordPress. WordPress sites are designed to be accessed using the specific domain that is set in the database, particularly within the "home" and "siteurl" fields of the options table.

The current configuration for your website is set to: hidden link

As a result, any attempt to access the site using a different URL will automatically redirect to the one specified in the options table, which in this case is hidden link..

One potential solution you might consider is adjusting the WPML plugin setting to "Different languages in directories" as found here: hidden link

This adjustment should add an "en" suffix to the URL when the English version of the site is selected, though the base URL will remain kajsasfoto.se..

If you're looking for a different approach, it may be beneficial to consult with your website developer or a third-party professional who can offer more tailored advice and explore alternative options with you.

Please understand that while we are committed to providing you with the best support possible for any website-related inquiries, our expertise is primarily in hosting-related matters. Application-specific issues, such as the one you're facing, often require a more in-depth analysis and troubleshooting that typically falls within the realm of a professional developer's services.

While I'm not in a position to recommend any specific individual, there are many skilled specialists available for hire on various reputable freelance platforms online.

Remember, we are here for you should you need any further assistance. You can easily reach out to us by submitting a new request through your User Area at hidden link - simply click on the Question Mark, visit the View Help Center, and select Contact us.

Warmest regards,

Todor Savov
Technical Support Team
Site Ground

December 16, 2023 at 1:48 pm #15077385

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I'll consult our 2nd tier support team regarding this issue and update you as soon as I get their reply.

Best regards,
Osama

December 16, 2023 at 5:39 pm #15077729

kajsaR-2

So now when I reached out to SiteGround, they said that the redirection was caused by an redirection-plug-in I had on the site. I have now turned of that plug-in but now so there is no more redirection but it is still not working as you describe it should work. Now it's instead a 404, page not found and Siteground is saying:
"I would recommend you contacting the WPML plugin developers if further assistance with the English page creation is required."

December 17, 2023 at 8:56 am #15078461

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. The domain seems to work correctly now. Please check the translated home page. (hidden link)

The other pages redirect to 404 because they are not published. Please go to WPML-> Translations, filter by "Pending Review", select all, and "Approve Translations". (Kindly check the attached screenshot)

Best regards,
Osama

2023-12-17_10-53-06.jpg

The topic ‘[Closed] How to use WPML with different domains per language’ is closed to new replies.