I am trying to edit homepage (EN version or FR version) in backend.
The url in the address bar seems ok : /wp-admin/post.php?post=1231&action=edit&lang=fr (1231 is the post of FR homepage) but it just automatically display another page (a product custom post type showing the title of the product, the permalink and the yoast slug also but with empty content in the page). I'm able to edit all other pages correctly so it is very strange that it just happening in the homepage... We have a multi-sites : the main site (that don't have products custom post type) works correctly but the 2 others websites have this bug with the homepage edition... everything was correctly before. It seems to be related with the recent wordpress/plug-ins updates (note that we are in php 7.4). Any idea??
First of all, I'll advise to fix WP Memory Limit. WPML requires a memory limit of at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set WP Memory Limit in your wp-config.php file by adding following code:
Then, please check if all WPML plugins are up to date? Otherwise please update to latest versions.
Then, try with a minimal setup like only with WPML plugins and a default WordPress theme like 2021 or 2023.
IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.
Please let me know how it goes.
Regards.
The topic ‘[Closed] Trying to edit homepage in backend automatically redirect to custom page instead’ is closed to new replies.