This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate a page, but the translated page does not maintain the original page template. Instead, it resets to the default template, and you see the index page instead of the expected translated page. Solution: First, ensure that the issue is not related to the Front Page settings, as confirmed in your case. Next, you should manually set the
_wp_page_template
custom field to the desired template file name for the translated page. This approach helps in overriding the default template that appears due to a possible glitch or misconfiguration.
If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. It's also advisable to check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at 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.
Background of the issue:
I am trying to translate a page, but the translated page doesn't keep the page template of the original. When I attempt to change the template, it always resets to the default template.
Symptoms:
The translated page resets to the default template instead of keeping the original page template. I expected to see the translated page, but instead, I got the index page.
Questions:
Why does the translated page reset to the default template?
How can I ensure the translated page keeps the original page template?
I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Thanks for your reply. Sorry, we won't be able to help if the site is only available locally. Could you please upload the site to a staging site so that I can check this out for you?
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.