Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Tirane (GMT+02:00)

This topic contains 2 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 2 months ago.

Assisted by: Marsel Nikolli.

Author Posts
June 13, 2024 at 12:56 pm #15736244

matthijsL-5

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?

June 13, 2024 at 2:09 pm #15736695

Marsel Nikolli

Hi,

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. */

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

---

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.

Thanks,
Marsel

June 18, 2024 at 8:41 am #15747886

Marsel Nikolli

Hi,

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.