Skip Navigation

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.

This topic contains 7 replies, has 2 voices.

Last updated by Waqar Ali 11 months ago.

Assisted by: Waqar Ali.

Author Posts
March 24, 2024 at 11:40 pm #15444447

jeffreyG-8

Hi

All translated pages on this website are encountering a 404 error.

I have:

1. Check memory and it is set to 256
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

2. Switched to 2024 theme, problem still persists

3. Disabled all plugins except for WPML Multilingual CMS, WPML Media and WPML String Translation, but the problem still persists.

Kindly assist.

Thank you.

March 25, 2024 at 8:11 am #15445034

Waqar Ali

Hi,

Thank you for contacting us and I'd be happy to assist.

Have you tried flushing the permalinks cache? If not, here are the steps:

- Go to "WordPress Dashboard > Settings > Permalinks".
- Click the "Save" button to flush the permalinks cache.
- Once done, check the translated pages again, in different browsers and devices.

Let me know how it goes. If the issue persists, you're welcome to share temporary admin login details, for further troubleshooting.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

March 26, 2024 at 8:26 am #15449870

jeffreyG-8

Hi Waqar

Any update for us please?

Thank you
Jeffrey

March 27, 2024 at 6:52 am #15453636

Waqar Ali

Hi Jeffrey,

Thank you for waiting, as I completed the initial troubleshooting.

While I can see the issue of the translated pages showing a '404 - not found' message on your website, I couldn't reproduce this on a test website.

This suggests that something specific to your website or server is involved. Do I have your permission to download a clone/snapshot of your website, to investigate this on a different server?

regards,
Waqar

March 27, 2024 at 8:23 am #15453866

jeffreyG-8

Hi Waqar

Yes, go ahead please.

Thank you.

March 27, 2024 at 8:25 am #15453869

jeffreyG-8

Sorry, just to add, I do have another 2 websites on the same server, and these are not experiencing the same issue.

hidden link
hidden link

March 27, 2024 at 11:21 am #15455082

Waqar Ali

Thank you for the permission and I've downloaded the website's clone.

I'll be performing some tests on this clone and will share the findings as soon as this testing is completed.

Thank you for your patience.

April 2, 2024 at 8:19 am #15471440

Waqar Ali

Thank you for waiting.

I've tested your website's clone on a couple of different server environments, and couldn't reproduce this issue with the translated pages. The translated pages show correctly, without any '404 - not found' errors.

Can you please check if the other websites on the server are also using the same plugins? Especially check for the cache and security plugins.

It would also be a good idea to compare the '.htaccess' files of this website and the others to see if any specific line/code is resulting in these errors.

I hope these points will help and let me know how it goes.

April 3, 2024 at 4:05 am #15475862

jeffreyG-8

Hi Waqar

Thanks for all your effort.

The issue was with the .htaccess file. We had previously used a Google translate plugin before using WPML.

I removed the GTranslate config setting in .htaccess and it seems to be working now.

Strange, but we had deleted the plugin sometime back and everything seemed to be working fine until recently.

In any case, the translated pages are working again.