Hi! I have recently registered to WPML to get further uptades. After that I now have issues accessing the english pages of my website. The default language is german, and now whenever I click on links on my website (eg. in the drow-down window or through links on the main page) I get redirected to the german page, not to the english one to which I have switched (using the language switch on the top). I can only access the english version of a post/page by switching through that switch on the top of the page. Do you have any Ideas how I can change that?
Welcome to the WPML support forum. My name is Nicolas and I will be happy to help you today.
Let's start by meeting WPML's minimum requirements because it could impact your translations. I've noticed your website has a low PHP memory allocation (40M). The minimum requirements for WPML is 128M but we recommend 256M:
Access your server via FTP and open wp-config.php (in your WordPress root directory).
Insert those lines just before /* That's all, stop editing! Happy blogging. */
I tried to visit the site to better understand the issue but the site is under construction.
Can you try the following solutions
1. Do you have German links instead of English ones even when you are logged in as an Admin (if not then the translation is probably not published but in "draft").
2. In "WPML > Settings > Translate Link Targets" click "Scan now and adjust links".
3. Clear your cache and visit the page.
4. If step #3 doesn't fix the issue, can you do this quick test:
- when you mouseover the link, at the bottom of your screen in the corner, can you tell me if the link is German or if the link is English but redirects you to the German version?
5. Once the PHP memory is increased, edit a DE page (just add a space at the end of a paragraph) and resave that page. Then open the EN translation:
- Is the translation completed to 100%?
- Please revalidate the translation and check again if the link is changed to EN on the frontend.
6. Last, make sure that you don't have custom redirections created in your plugin "Redirection".
If the issue persist after that, I'd like to request access (preferably to a staging copy).
I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.
IMPORTANT: Before we proceed, please backup your site and database.