Are their any other plugins active that might be changing how URLs are generated? Also do you have homepage URL localization enabled (/ for both languages or /en/ and /es/)?
Hi I checked for other plugins and disabled things that might have done that.
How do I make an homepage url localization enabled?
Go to the Translation options page and see what “Skip Localization for Default Language?” is set to; it’s probably disabled since I think that was the default. Try toggling that and see what happens.
When “Skip Localization for Default Language?” is unchecked it works good, But I don’t want to have the en on default language. any suggestions?
I’ll see if I can reproduce the issue on my end and get back to you.
Sure if you need access let me know.
Hmmm… I’m modifying one of my sandbox sites to match your situation but I’m not getting the issue:
– Homepage is has no language nor translation assigned
– /en/ for homepage turned off
– Visiting the site in a browser set to the other language
I’m not too surprised there’s a redirect loop happening but I’m not sure how it’s happening.
If you’re unable to debug the code yourself, you could send me a dump of your wordpress database (without the users/usermeta table if desired), and your wp-content folder (minus the uploads folder for sanity purposes). Basically a backup of your site, minus some of the sensitive and bulky stuff, if you’re comfortable with that.
” /en/ for homepage turned off”
How do I do it just for Homepage?
You can’t actually; I mis-worded it.
Hi Doug,
So I think the issue is the combination of:
1. Home page is a static page in english on a system with English and Spanish installed
2.No translation for the home page to spanish
3.Skip Localization for Default Language? checked
This generates the loop.
Any idea?
Is there a way for a PM I’ll create an account for you in my dev site, if you are interested.
I can reproduce the error now; I thought the homepage was unassigned.
Until I figure out the best way to handle this, I suggest one of two solutions:
– Set the home page language to None, or
– Uncheck “Post Language Override” option so that it doesn’t try to redirect the homepage to it’s assigned language
Post language override is unchecked, and I dont have the NONE option in the languages…
Oh right, forgot, uncheck “Language is Required” and it’ll offer the None option.
So you have the post language override disabled and it’s still redirecting? That should’ve helped.
yep… wierd.
Anyway With the None in the language of the home page it seems to work.
But now I have a different issue. When sufring with a spanish browser posts and sliders are not showing.
Take a look at website.agentvi.com vs website.agentvi.com/es notice the home page slider that is missing, the recent news and the news room page.
Assuming the slides are their own separate object, you should turn off translation support for them (Translation > Localizables, uncheck whatever they’re called, hopefully “slides”). That should solve the problem.