Background of the issue:
I am experiencing an issue with 404 redirects on my site hidden link. When I visit hidden link, I correctly receive a 404 page. However, if I visit hidden link, it shows a 404 page and then redirects to the homepage. If I disabled this then it works properly: hidden link
Symptoms:
404 page redirects to the homepage unexpectedly.
Questions:
How do I fix this without having to disable all browser language redirects: hidden link
Thank you for contacting WPML support.
While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps or if I can help with the issue quickly.
Is the English version of the page saved as a draft? If you publish it, does the error persist? Do you have this setting for pages: WPML -> Settings -> Pages (page): "Translatable - use translation if available or fallback to default language".
If yes, it's a known issue that has been reported to our devs already. For now the only workaround is to publish or trash the draft.
I see what you mean, in theory the redirect is correct, as your site is using directories such as /en-us/ no URL should be used without it, and instead it should redirect to /en-us/829h rather than the homepage.
There is possibility this is expected as it's a 404 page we find fit to redirect to the homepage, however, I will have to confirm this with our team first.