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 5 replies, has 2 voices.

Last updated by lauraN-2 1 year ago.

Assigned support staff: Bobby.

Author Posts
September 21, 2018 at 8:04 am

lauraN-2

Hi there,

We are using WPML and it was working just fine until Google notified us of a lot of 404 errors.

Default language = NL
Extra langauge = EN

All the links with evcompany.eu/nl/pagelink we're not working. /en did.
The language url was already set to use a folder (/en). So now I also activated the option to use a folder for the default language too (/nl).

The links were working just fine now. Only the homepage went offline for too many redirects! Only when going to evcompany.eu/en it was working.

What to do?

September 21, 2018 at 9:54 pm #2756580

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

when i currently visit your site i can see the page without the error are you still experiencing it ?

or is this happening only when you enable the option to have the directory for the default language url (ex. hidden link) ?

i have run a redirect check on sites url and it came back good.

hidden link

HTTP/1.1 200 OK
X-Powered-By: PHP/7.2.10
Content-Type: text/html; charset=UTF-8
Link: ; rel="hidden link"
Link: ; rel=shortlink
Transfer-Encoding: chunked
Date: Fri, 21 Sep 2018 21:52:15 GMT
Accept-Ranges: bytes
Server: LiteSpeed
Vary: User-Agent
Alt-Svc: quic=":443"; ma=2592000; v="35,37,38,39"
Connection: Keep-Alive

September 22, 2018 at 5:53 am #2757112

lauraN-2

I switched it off again (to use the folder for the default language). Its a live site, it cant be offline.

Do you need to see it happen? You can login by yourself, I have sent the credentials.
Go to WPML > Talen > URL > on = Bestandsmap gebruiken voor standaard taal
hidden link

Thanks!

September 24, 2018 at 4:38 pm #2761319

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

if possible please verify the credentials as i am currently not able to access the backend.

**Before we proceed I recommend to please take FULL BACKUP of your database and your website.**
I often use the Duplicator plugin for this purpose See: http://wordpress.org/plugins/duplicator/

I would like to request temporary access (wp-admin and FTP) to your site

You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you will enter is private which means only you and I can see and have access to it.

Thank you,
Bobby

September 25, 2018 at 7:58 am
September 26, 2018 at 12:24 am #2765401

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

please review the following results from a redirection audit

hidden link

HTTP/1.1 301 Moved Permanently
X-Powered-By: PHP/7.2.10
Expires: Wed, 26 Sep 2018 01:20:46 GMT
Cache-Control: max-age=3600
Location: hidden link
X-Redirect-Agent: redirection
Content-Type: text/html; charset=UTF-8
Content-Length: 1
Date: Wed, 26 Sep 2018 00:20:46 GMT
Accept-Ranges: bytes
Server: LiteSpeed
Vary: User-Agent
Alt-Svc: quic=":443"; ma=2592000; v="35,37,38,39"
Connection: Keep-Alive

hidden link

HTTP/1.1 301 Moved Permanently
X-Powered-By: PHP/7.2.10
Content-Type: text/html; charset=UTF-8
Expires: Wed, 26 Sep 2018 01:20:50 GMT
Cache-Control: max-age=3600
Location: hidden link
Content-Length: 1
Date: Wed, 26 Sep 2018 00:20:50 GMT
Accept-Ranges: bytes
Server: LiteSpeed
Vary: User-Agent
Alt-Svc: quic=":443"; ma=2592000; v="35,37,38,39"
Connection: Keep-Alive

it seems that you have a 301 redirect that takes effect , please review your redirections, any plugins that might have redirections and of course any hard coded work.

October 3, 2018 at 7:00 am #2783563

lauraN-2

I found the redirect! Dont know why it was there... Now the issue is resolved, thank you!