This thread is resolved. Here is a description of the problem and solution.
Problem: The client experiences 404 errors across the site, mainly with portfolio posts, after copying and translating a page. The issue persists even after setting up redirects and involves unexpected changes in URLs when setting up translations in different languages.
Solution: 1. Ensure the PHP version is fully supported by WordPress, preferably versions 8.1 or 8.2. 2. In an incognito window, check if the issue still occurs. If it does, follow these steps: - Navigate to WPML->Support->Troubleshooting. - Clear the WPML Cache. - Go to WP Engine and clear the website cache. 3. Check if there are any active 301 redirects that might be affecting the URLs. 4. In WPML settings, under 'Translated documents options' -> 'Page URL', ensure the correct settings are applied based on whether the translation language uses encoded URLs. If necessary, adjust the language settings to 'Encoded' or set it to 'Translate' for more control over the URL slugs in the translation editor.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your specific 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.
When I copy and translate a page, and publish it, I get 404 errors across most of the site, mainly the portfolio posts. I have tried many things including Maiya, and am requesting a human's help!!
This is actual page hidden link
This is the 404 that happens, the address changes back to what it used to be. hidden link
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Rome (GMT+02:00)
Hello,
This is indeed strange. Could you please:
- Downgrade your PHP version to one fully supported by WordPress (I'd suggest 8.1 or 8.2)
- Would you be able to allow us access to the site so We can take a look at the problem (up close) and see if we can spot why the problem is happening?
There is a 301 redirect at the moment so I cannot test it, is this the one you set up?
>>> hidden link
> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status: 301 Moved Permanently
Code: 301
Date: Wed, 24 Dec 2025 21:05:42 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
CF-RAY: 9b330eeb9cddd2b7-FRA
Location: hidden link
X-Powered-By: WP Engine
X-Redirect-By: WPML
X-Cacheable: non200
Cache-Control: max-age=600, must-revalidate
X-Cache: MISS
X-Cache-Group: normal
cf-cache-status: DYNAMIC
Set-Cookie: __cf_bm=idn4Y5jm9lKAm0.AaxS4GEtU980ZTcqFCT1iWg4iuGw-1766610342-1.0.1.1-umrmL.axwaj3H6zWGvMEzabjZJG_Is5hROEthQvl._Tj2TtWyyTDN9.xZtVxvd_Fdm55jfIJUzjEU6Y7Lj0LgvutZ20_EhyTAo1MMo2k7cg; path=/; expires=Wed, 24-Dec-25 21:35:42 GMT; domain=.wpenginepowered.com; HttpOnly; Secure; SameSite=None
Server: cloudflare
alt-svc: h3=":443"; ma=86400
>>> hidden link
Regarding the permalink:
The item title is "1/4" TC-X030 Series *"
The permalink is being pulled from the item title.
1-4-tc-x030-series
In WPML -> settings-> Translated documents options -> Page URL, you have selected "Copy from original language if translation language uses encoded URLs"
this works, but only when a language uses encoded URLs which the current languages do not.
You could try as a workaround to go to WPML->Languages -> edit languages and mark the language "Yes" under Encoded.
OR set it to Translate (this will include the slug in the translation and not create it automatically from the title) which will give you more control directly in the ATE Editor to copy it or adjust it.
Thank you, that seemed to help that issue! Would you mind taking a look at another issue with other 404s? This will not stop happening.
hidden link (404 - but active page)
hidden link
I started to translate this page in portuguese. But when I click on one of the squares, a product page should come up in portuguese since I set all of those up as well.
hidden link
When I go directly to the page I get 404s for them now.... hidden link
How can I link them so I don't have to go to the footer of the page to click on the portugues version? (Most still have english text but I did set them up as a language page.)