Due to the large volume of support requests, at the moment there is a waiting time of more than 24 hours. We apologize for the inconvenience this causes. We do not have any recurring unknown issues so we encourage you to please search the forum for other support topics that might be helpful and to review our documentation and look at our errata page for known issues. A supporter will respond to you as soon as possible.

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 10 replies, has 6 voices, and was last updated by  Alana 4 years, 4 months ago.

Author Posts
Author Posts
August 20, 2011 at 7:01 pm #34766


Well it's all in the title :
I go to my-domain.com , no problem
i go to my-domain.com/fr : it can't get there
it says there is a redirection loop.
How to set a homepage for the second language ?

August 20, 2011 at 7:20 pm #34768

Forum moderator

May we have a link to your site? We can see what the redirection loop includes.
Also, what's the site's permalink structure? Are you using any other plugins that may add rewrite rules or modify the URL structure?

August 20, 2011 at 7:31 pm #34769


hidden link
is the website
I use the plugin custom permalinks , my default permalink structure is wonderingyolene.com/%postname%
The translation of links works just find for posts and pages, it's just for the homepage that it doesn't work.

August 20, 2011 at 7:38 pm #34770

Forum moderator

Please try to use the permalink structure:
Also, disable that custom permalinks plugin, as it most likely is related to the problem. Once we narrow this down, you can invite the author of the other plugin here and we can work on this issue together.

August 20, 2011 at 8:07 pm #34771


well i disactivated the custom permalink but it's still not working.
As i said : it works fine everywhere EXCEPT the homepage.
The homepage doesn't have a Year/Month/Name structure no matter which default permaling structure i use anyway.
It's just the homepage problem, i guess it's because WPML doesn't have an actual 2nd page to link to.
I mean for each post for example i use wpml to link the english post to the french post. But i haven't had opportunity to make that for homepage, because there is only one homepage in the theme ...
There should be an option in WPML to create a translated replicate of the original homepage , i mean how do other users do it ?!

August 21, 2011 at 4:17 am #34772

Forum moderator

The redirect loop goes between hidden link and hidden link
I suspect that the theme is auto-redirecting to hidden link.
Can you check if this also happens with the default WordPress theme? (TwentyEleven)
The permalink structure that you're using is highly problematic and will likely cause problems. Even though it doesn't affect the homepage, I would still cause problems.
After you switch the theme (for testing), I strongly suggest that you switch the permalink structure to Year/Month/Name - at least for testing.

August 21, 2011 at 4:28 am #34773


I've set the default theme, (cleared the cache etc) and the problem is still there. Isn't it because the French homepage doesn't exist and needs to be "create" somehow and linked to the English one ?

February 29, 2012 at 5:05 pm #49372


Incidentally, I just had this same problem, and worked out that it was coming from the Redirection plugin. The Redirection plugin, by default, monitors changes in permalinks and redirects the old page/post to the new one. I changed the name of my German homepage, and Redirection saw this and set up a redirect that caused the loop.

I know this is an old thread, but it's the first Google hit for WPML redirection loop, so I figured it was worth adding my discovery, in case it's causing anyone else problems.

To solve it, I (a) went into Redirection's settings' "Groups" page and removed the duff entry under "modified posts", then (b) went to the Options page and chose "Don't Monitor" under "Post & Page URLS" to make sure it didn't inflict any more problems on me.

March 1, 2012 at 8:14 am #49488


Thanks Matt.

March 23, 2012 at 8:11 am #53022


Thanks! This also solved my problem! Remember: Turning URL Monitor OFF is not enough! You have to remove all entries in Groups/Modified posts like Matt already said!

January 22, 2014 at 5:07 pm #325992


Matt! that worked a treat!! thanks .. I didn't even turn off montoring.. I just removed all the entries in Groups/Modified

The topic ‘[Closed] 2nd language homepage can't be accessed : redirection loop’ is closed to new replies.