Background of the issue:
We want to translate our site from NL to EN. This work fine overall however when we active the plugin only the homepage in NL gives a 404 error. The rest of the site is functioning fine and also the translations work. In addition, when I’m logged in the Homepage in NL is showing how it suppose to be, but when I view the website in logged-out modus the homepage returns with a 404. For now we disabled the WPML plugins, you can re-active them to see the problem. Link to a page where the issue can be seen: hidden link
Symptoms:
Homepage in default language (NL) gives a 404 error when WPML is activated. The rest of the site and translations work fine. The issue only occurs when logged out.
Questions:
Can you fix the 404 error on the NL homepage when WPML is activated?
Why does the NL homepage show correctly when logged in but not when logged out?
Thank you for contacting WPML Support, I will gladly help you.
According to your debug.info, the WP memory limit needs to be increased, WordPress uses 40Mb as default and the minimum requirements for WPML are 128 MB. (Kindly check this page: https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file right before the line: /* That's all, stop editing! Happy publishing. */
I would need temporary access to your site's WP-admin to investigate this issue.
Please fully back up your site (files and database) and confirm it in your next reply.
* Note: I might need to enable/disable plugins, switch themes, and access your website database.
Your next reply is set to private for you to provide the username and password details.
Thank you for the access, I was able to check your website.
To further troubleshoot the issue I set up a sandbox site where I would require you to try to reproduce the issue, link to sandbox below (one-click-login):
hidden link
Please on the sandbox:
- upload only the necessary theme/plugin to reproduce the issue
- WPML plugins are already active
This will help check that the issue is not caused by any possible conflict with any other plugin.
* Please do not import your website on the sandbox site.
Thanks,
Marsel
The topic ‘[Closed] Homepage in default language gives a 404 when WPML is activated’ is closed to new replies.