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.

Our next available supporter will start replying to tickets in about 4.02 hours from now. Thank you for your understanding.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Stéphane 11 months, 3 weeks ago.

Assigned support staff: Laura.

Author Posts
October 23, 2018 at 3:17 am #2840628

Stéphane

I am trying to:
Make a 2 domains website work with www and non-www
(everything works fine with non-www domains !)

Link to a page where the issue can be seen:
hidden link
vs
hidden link

I expected to see:
The same page, instead of a 404 page.

Same problem, but a little bit différent, is if I go to the french site with www:
hidden link
it redirects me to the english site with no www:
hidden link

The server domains configuration looks OK. I sent you screenshots from my server to see it.

As the website is live, I'm not giving you access right now, but I will if you find it really necessary.

Thanks in advance.

October 23, 2018 at 3:32 am #2840655

Stéphane

FYI, I also did a test on hidden link, and it appears that there is redirection being done. But on my server, I haven't configured any redirections with that domain.

>>> hidden link

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Server: nginx
Date: Tue, 23 Oct 2018 03:28:24 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
X-Cache-Enabled: True
X-UA-Compatible: IE=edge
Set-Cookie: wpSGCacheBypass=0; expires=Tue, 23-Oct-2018 02:28:24 GMT; Max-Age=0; path=/
Location: hidden link
Cache-Control: max-age=172800
Expires: Thu, 25 Oct 2018 03:28:24 GMT
Host-Header: 192fc2e7e50945beb8231a492d6a8024
X-Proxy-Cache: MISS

October 23, 2018 at 4:01 am #2840695

Stéphane

Also, I just had a conversation with my tech hosting provider, who confirm that there is no redirection on the server.

October 23, 2018 at 3:06 pm #2843162

Laura
Supporter

Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)

Hi,

WPML does not create 301 redirects (or any kind of redirect).
They are usually managed by plugins, or with the .htaccess file which is in your WordPress root directory. Check it, and you should be able to delete or change it.

Let me know if this helps you or if you need further assistance.

October 30, 2018 at 4:12 pm #2862649

Stéphane

I'M closing this ticket because I solved some of the problems. I will open a new one to make things more clear !

October 30, 2018 at 4:14 pm #2862653

Stéphane

My issue is resolved now. Thank you!