Skip Navigation

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.

This topic contains 1 reply, has 0 voices.

Last updated by Kor 3 weeks, 1 day ago.

Author Posts
January 8, 2025 at 7:22 pm #16575112

chazE

Background of the issue:
Hi,

First-time WPML user, I had this happen twice today: I duplicated all the pages on my site and then when I deleted all the Spanish pages (from WP Dashboard -> Pages, hadn't translated anything), it broke the site. The static homepage setting in WP was reset to the default posts page and all the other pages showed a 500 internal server error. I had deleted the pages from the trash as well. I set the homepage back in the WP settings and it worked, but all the other pages kept showing a 500 error. The Elementor editor also stopped working (loading endlessly).

I had to contact my host and they said there was an issue with the htaccess file and they fixed it.

Then on the Translation Management page it would still show the pages as having been duplicated despite them not existing anymore. This meant that the automatic translation wasn't working for those pages. To fix the issue I duplicated them again and then I selected all of them and chose Translate at the bottom (but paused automatic translation). Now they show as "Not translated" which is fine, but I deleted the duplicates again and again the same issue. This time I left them in the trash so I could restore and publish them again, which I did, but that did not fix the issue with the 500 error on all the pages (except the homepage). I had to contact my host again to get the site running again.

Why is this happening? Did I do something wrong? How am I supposed to delete translated pages without breaking the site?

Thank you!

Symptoms:

Questions:
Why did deleting translated pages cause a 500 internal server error?
How can I delete translated pages without breaking the site?

January 9, 2025 at 4:09 pm #16578850

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

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 and try to help with the issue quickly.

Based on your feedback, I suspect you're facing the issue similar with this article https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

Please try the workaround provided and see if it helps.