[Resolved] 404 when saving events on certain languages
This thread is resolved. Here is a description of the problem and solution.
Problem: Your website displays a 404 error when editing events that are not in English. Solution: If you're experiencing this issue, we recommend you try the following steps: 1. Navigate to WPML --> String Translation. 2. Search for 'event' and delete those strings. 3. Go to WPML --> Settings --> Post Type Translation and add the translation for the event slug. 4. Then, navigate to Settings --> Permalinks and click on 'Save'. We have also prepared a video guide to help you through these steps: Video Guide.
Please note that this solution might be irrelevant if it's 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 the issue persists, please open a new support ticket at WPML Support Forum for further assistance.
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.
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Madrid (GMT+02:00)
Since the 404 appears after editing/updating events, I would now focus on the permalink layer. I noticed that the site is using Permalink Manager Lite, which can affect how WordPress resolves custom URLs, especially for custom post types such as events and their translations.
Could you please try the following?
- Temporarily disable Permalink Manager Lite.
- Go to Settings → Permalinks and click Save changes without modifying anything.
- Clear any server/CDN cache.
- Update one affected event again and check if the 404 still appears.
Hi,
I just ported my production to testing and deactivated both the permalink and rocket plugins.
I am still getting a 404 when I edit the events in different languages from English
So far, from my testing, it seems like the problem stems from permalinks / slugs / strings and the way WPML, WordPress and the Events plugin manage them.
I changed the slug from dutch to english "event" instead of "evenementen" and then proceeded to edit and save the same event and have not yet given me a 404.
Why is this happening, is it normal or a bug? why is it that with "evenementen" it generates a 404?
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Madrid (GMT+02:00)
Please try the following:
- go to WPML --> String transaltion
- search for event and delete those strings
- then go to WPML --> Settings --> Post type trasnlation and add the translation for event slug
- then go to settings --> permalinks and click on save