Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

If you're experiencing a 404 error when clicking on the translated version of a page or post, it might be due to a conflict with your custom permalink structure. Specifically, if your structure includes

/index.php/%year%/%monthnum%/%day%/%postname%/

, this could be the root of the issue as WordPress does not fully support such structures.

Solution:

We recommend switching to one of the default permalink options under Settings >> Permalinks, such as "Day and name". After switching, make sure to resave the permalink settings. This adjustment has resolved similar issues in the past and should help in accessing the translated versions of your pages and posts without encountering a 404 error.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.

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 5 replies, has 1 voice.

Last updated by Bigul 3 weeks, 1 day ago.

Assisted by: Bigul.

Author Posts
May 31, 2025 at 8:59 am #17093855

mohamedI-17

Background of the issue:
I am trying to use WPML to translate pages or posts on my site hidden link.

Symptoms:
When I try to click the translated version of a page or post, it displays error 404.

Questions:
Why does the translated version of my page or post display a 404 error?

May 31, 2025 at 9:01 am #17093870

mohamedI-17

so the WPML is not working it displays error 404

Screenshot 2025-05-31 115740.png
May 31, 2025 at 5:33 pm #17094576

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you resolve the issue.

We hope you're using the WPML Translation Editor to translate your posts and pages.

Could you please confirm if you can access WPML >> Translation Management and translate content as outlined in the documentation below?

https://wpml.org/documentation/translating-your-contents/#using-wpmls-translation-management

For a better understanding of the issue, it would be very helpful if you could share a screencast (a screen recording showing the steps to reproduce the bug). You can share it via Google Drive or Dropbox. We look forward to your update.

--
Thanks!

Bigul

June 1, 2025 at 8:02 am #17095034

mohamedI-17

Your support is not adding any positive step to our problem we are still facing the issue

June 1, 2025 at 11:54 am #17095343

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. This sounds like a compatibility conflict.

Please fill in the private details fields including FTP credentials after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

June 2, 2025 at 4:36 pm #17098775

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. You are seeing a 404 error on Somali posts and pages due to a conflict with the following custom permalink structure, which includes */index.php/*:

/index.php/%year%/%monthnum%/%day%/%postname%/

This structure is typically used only when the server doesn’t support pretty permalinks. WordPress does not fully support such structures, which is likely causing the issue.

I was able to get the expected results by switching to one of the default permalink options under Settings >> Permalinks, such as "Day and name". It also works when switching back to your custom structure and resaving the permalink settings.

Please check the site now and let us know your feedback. Refer to this screencast for more details: hidden link

--
Thanks!

Bigul