Thank you for contacting WPML Support. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.
Your next answer will be private, meaning only you and I can access it.
=== Please backup your database and website ===
✙ I would need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.
Thanks for sharing the login details. I’m unable to access the wp-admin page as it’s showing a Bad Gateway error, as you can see in the screenshot. Could you please check this on your side?
Sorry for the delay, I am off for my weekend (Friday-Saturday). Thanks for the update, I will continue to work on this issue the first thing on Sunday and get back to you with an update.
I checked the issue, and the “WPML Languages Folder Writable Issues” message disappears as soon as the “Use directory for default language” option is turned off. This means the problem is linked to how the site handles the default language directory.
To isolate the cause of this issue, I have set up a fresh WP site on a test server(cloudways). Please migrate your site there using the details I shared in my earlier private reply, and let me know once the migration is complete.
I enabled “Use directory for default language” on the migrated site on our Cloudways test server, and it works without any issues, even without deactivating any theme/plugin or changing any configuration. On your live server, the AJAX requests get the language code added, which breaks page creation. Since this doesn’t happen on Cloudways, it’s very likely caused by a server-side rewrite, proxy, caching, or security rule on your hosting.
Could you please ask your hosting support to review anything that might be rewriting or blocking AJAX URLs, such as:
1. Redirect or rewrite rules (Nginx configuration)
2. Reverse proxy or load-balancer rules
3. Server caching layers
4. Security modules (mod_security, WAF, Cloudflare rules)
5. Any custom URL-rewrite logic on the server
Here is the example of the affected request:
Correct: hidden link
Live (incorrect): hidden link
Thank you
The topic ‘[Closed] WPML languages Folder Writable Issues’ is closed to new replies.