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.

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Bobby 8 months, 3 weeks ago.

Assigned support staff: Bobby.

Author Posts
January 17, 2019 at 3:42 pm #3102764

aymanK

This english version of site is not working
Also when I try to translate page directly from backend that also not working
hidden link

January 18, 2019 at 1:12 am #3104138

Bobby
Supporter

Languages: English (English )

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

Hello,

Please go to WPML->Languages-> switch your Language URL Format to "Language name added as a parameter "

what are your results ?

also verify that your WP is not installed in a directory

January 18, 2019 at 8:02 am #3104961

aymanK

Hello,

I did and still same issue.

January 18, 2019 at 5:51 pm #3107022

Bobby
Supporter

Languages: English (English )

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

Thank you for confirming with me

1. I have checked your url for any redirects and i found that there is indeed a lot of redirects happening , the following redirect keeps happening over and over

hidden link

HTTP/1.1 302 Found
Date: Fri, 18 Jan 2019 17:44:40 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=dee8b707e09f7b672c44506220ee1fc511547833479; expires=Sat, 18-Jan-20 17:44:39 GMT; path=/; domain=.misrelkheir.org; HttpOnly
Location: hidden link
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
X-Powered-By: EasyEngine v3.7.5 - Optimized by VirtuBox
Expect-CT: max-age=604800, report-uri="hidden link"
Server: cloudflare
CF-RAY: 49b2deee5e279b9f-SJC

2. There is a possibility this is being caused by a 3rd party plugin , the usual test for this would be to do a compatibility test such as the following

-Back up your site first
-Deactivate all non WPML related plugins
-Switch for a moment to a WordPress default theme like Twenty Fourteen.
-If the issue is gone, activate one by one to see with wich one there is an interaction issue

Do NOTE that this is something we can do on a staging server with your site in order to not cause any interference on your live site

3. Are you using any specific redirection rules either in .htaccess or javascript ?

January 22, 2019 at 1:54 pm #3116779

aymanK

Dear Bobby,

I tried everything but unfortunately not working , Please advice

January 22, 2019 at 7:45 pm #3118056

Bobby
Supporter

Languages: English (English )

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

Hi There,

We could create a staging site on to our Cloudways server, if this is related to WPML the issue should follow on new server and if it does we can continue debugging there without interfering with your live site.

if possible i would like to ask for access to your backend so i can perform the migration to the staging site on Cloudways

**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

January 23, 2019 at 5:58 am #3119036

Bobby
Supporter

Languages: English (English )

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

Thank you for the access details !

The issue of the redirection is coming from your theme... The redirection is resolved once the theme is switched to a default theme such as twenty16

i did test the original theme of the Child Theme and the redirection does not happen, did you add some custom code within your Child Theme ? Some part of code within your child theme is causing the redirection.

January 23, 2019 at 10:07 pm #3122589

aymanK

Dear Bobby,

Thank you so much for your message.

Yes, we found the issue in the theme and we did fix it.

I’d like to take this opportunity as you analyze our website, can you give a solution for slow quires?

BR,

January 23, 2019 at 11:11 pm #3122689

Bobby
Supporter

Languages: English (English )

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

Hello,

i am glad the issue has been fixed !

what kind of queries are you currently experiencing ? Please review the following documentation regarding the performance

-> https://wpml.org/faq/prevent-performance-issues-with-wpml/

The topic ‘[Closed] ERR_TOO_MANY_REDIRECTS’ is closed to new replies.