Redirect problem on 2nd language
-
Hello there!
So, I have a worpdress website with 2 languages – English and Ukrainian. URL structure for different versions are website.com and website.com/uk (Ukrainian version). On Ukrainian version I have a problem. I have a page website.com/uk/34 and website.com/uk/31. When try opening website.com/uk/31 it redirects me to website.com/uk/34 for some reason. What would be the reason?WP.com: Yes
Jetpack: Yes
Correct account: YesThe blog I need help with is: (visible only to moderators and staff)
-
Hey there,
Thanks for reaching out.
What are the specific URLs you’re facing trouble with exactly? Perhaps I can offer some advice on how best to get that fixed.
It’s possible that the permalinks on the site need resetting. A quick troubleshooting step would be to go Settings > Permalinks > Click save.
Many thanks and I hope that’s useful so far!
-
Hello @aleone89!
Thank you for hepling!
Basically, when I try opening this page – https://passionateba.pro/uk/%d0%b4%d0%b0%d0%b9%d0%b4%d0%b6%d0%b5%d1%81%d1%82-%d0%b7-%d0%b1%d1%96%d0%b7%d0%bd%d0%b5%d1%81-%d0%b0%d0%bd%d0%b0%d0%bb%d1%96%d0%b7%d1%83-31/ it redirects to https://passionateba.pro/uk/%d0%b4%d0%b0%d0%b9%d0%b4%d0%b6%d0%b5%d1%81%d1%82-%d0%b7-%d0%b1%d1%96%d0%b7%d0%bd%d0%b5%d1%81-%d0%b0%d0%bd%d0%b0%d0%bb%d1%96%d0%b7%d1%83-34/. Same is for https://passionateba.pro/uk/%d0%b4%d0%b0%d0%b9%d0%b4%d0%b6%d0%b5%d1%81%d1%82-%d0%b7-%d0%b1%d1%96%d0%b7%d0%bd%d0%b5%d1%81-%d0%b0%d0%bd%d0%b0%d0%bb%d1%96%d0%b7%d1%83-32/ and https://passionateba.pro/uk/%d0%b4%d0%b0%d0%b9%d0%b4%d0%b6%d0%b5%d1%81%d1%82-%d0%b7-%d0%b1%d1%96%d0%b7%d0%bd%d0%b5%d1%81-%d0%b0%d0%bd%d0%b0%d0%bb%d1%96%d0%b7%d1%83-33/ and seems to be happening only to Digest-related posts, and only in UKR version.
I am using WPML plugin to translate pages and I believe all of them were translated using WPML editor, not editing content with WordPress independently.
Already tried resetting permalinks – did not help. More intersting facts: when I trash post 34, 31-33 are redirected to 404, but when I change status for Draft, 32 redirects to 32 but 31 and 33 – to 34) Some mystical stuff)Any help is appreciated, thx in advance!
-
Thanks for clarifying. In this case the redirection is being handled by the WPML Multilingual CMS plugin on your site, which is a 3rd party plugin that is created by a company we are not connected to. Because of this we’re not familiar with the coding of this plugin or how it managed redirections, so we are unable to help.
The good news is that WPML does provide help for their plugin and are best-able to help you sort this out. For example I saw that someone else had asked a similar question in their forums here: https://wpml.org/forums/topic/secondary-language-url-redirects-to-primary-language-url/
That may help you as well, if not you can ask them to take a closer look at your site here: https://wpml.org/forums/forum/english-support/
Hope that helps. Please let us know if you have any more questions.
- The topic ‘Redirect problem on 2nd language’ is closed to new replies.