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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.