<b>Symptoms: </b>
About once a week, the slugs change automatically, causing 404 errors. Temporarily correcting the issue involves emptying the cache and resaving the permalinks. The issue is that the slug changes from 'evenement' to 'event' or vice versa, resulting in a page not found error.
<b>Questions: </b>
How can I permanently fix the issue of slugs changing automatically?
Why has the flush rewrite code stopped working?
do you have a staging environment for further tests? I suspect there might be a conflict with another 3rd party component.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.
You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.
IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
I noticed that you haven't set up a root page under "WPML -> Languages -> Different languages in directories." This is required if you're using the "Use directory for default language" option. For more information, please refer to this guide: WPML Documentation.
You can create an HTML file that redirects via PHP to hidden link. This is likely why the redirect workaround is no longer functioning. Please set up the root page, so we can proceed with configuring /evenement and check if it still switches to /events.
It does not appear correctly because most plugins are deactivated, but it is there. Is it hidden link and it redirects to /
And from there you can choose to go to /fr or /en
thanks! It seems likely that the issue is related to compatibility with the Event plugin you're using. Please note that this plugin is not certified for use with WPML, so we cannot guarantee full functionality.
To help investigate, please install the plugin on this isolated hidden link">Sandbox environment and configure it exactly as on your site. This will allow us to see if the issue occurs here as well after some time.
If we can reproduce the problem in the sandbox, we may be able to suggest a temporary workaround. However, a long-term solution would likely depend on the plugin's developers.
Thanks for the info. Let's monitor the Sandbox to see if the behavior changes. I've extended the Sandbox to prevent it from expiring over the next weeks and downloaded a copy so we can compare the tables later if needed.
Just confirming I still need assistance as I got an email asking me this (and I didn't want the ticket to close). So far, the issue has not appeared on the sandbox environment.
Thanks for the information. If the issue isn't occurring on the Sandbox, it's likely related to something specific in your installation. Let’s monitor it for a few more days to see if anything changes.
Best regards,
Marcel
The topic ‘[Closed] URL slugs for each language change automatically, causing 404 errors (Part 2)’ is closed to new replies.