This thread is resolved. Here is a description of the problem and solution.
Problem:
The client experienced an error 500 on all pages of their website except the homepage, which was temporarily fixed by adding code to the .htaccess file. The hosting provider identified the issue as related to WPML and advised adding code to the functions.php file.
Solution:
We suggested that the problem might be due to the .htaccess file being overwritten with the language folder, which is not directly caused by WPML but by third-party plugins calling the
flush_rewrite_rules(true)
function too often. We recommended following the steps provided in the WPML errata page:
If the provided solution does not resolve the issue or seems irrelevant due to being outdated or not applicable to the client's case, we encourage the client to open a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that the latest versions of themes and plugins are installed. For further assistance, please contact us in the WPML support forum.
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 3 replies, has 3 voices.
Last updated by 11 months, 3 weeks ago.
Assisted by: Prosenjit Barman.