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.
Tagged: Exception
This topic contains 2 replies, has 0 voices.
Last updated by alexandreR-30 1 week ago.
Assisted by: Bobby.
Author | Posts |
---|---|
December 9, 2024 at 3:25 pm #16493942 | |
alexandreR-30 |
Background of the issue: Symptoms: Questions: |
December 9, 2024 at 6:00 pm #16494645 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, When I check the source I can indeed see the URL for EN (default language) pointing to the URL you shared with us. view-source:hidden link EN -> hidden link FR --> hidden link Please visit the EN page and while logged in at the top header click on "Edit page" , while in the edit page review the permalink structure as well as if this page is a child page related to a parent. Let me know your results! |
December 9, 2024 at 6:42 pm #16494694 | |
alexandreR-30 |
Thanks for your answer. From the backend, pages section, this page is called "Morocco". When switching to French, the URL pointed to is : hidden link On 4th December I did an URL update and removed all parent pages (with redirects): When I switch my backend to French and go to the Morocco page, I also see the correct URL, but when I tried to open the page, I get to the archive. |
December 10, 2024 at 8:14 pm #16500299 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Thank you for updating me! I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken ** I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/ You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you enter is private which means only you and I have access to it. NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin. Thank you, Bobby |
December 11, 2024 at 7:14 pm #16505198 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Thank you for the access details! I believe the issue is coming from the URL structure that is set for the categories. Taking the Morroco page for example. There is a page for Morroco with this URL -> hidden link There is a post category for Morroco with this URL -> hidden link The category permalinks are missing the /category/ part causing these behaviors. |
December 12, 2024 at 8:14 am #16506545 | |
alexandreR-30 |
Great catch 🙂 I rolled back the URL structure for the categories and it works. Thanks a lot. |