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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: America/Los_Angeles (GMT-08:00)
Tagged: Known issue
This topic contains 10 replies, has 2 voices.
Last updated by Bobby 3 months ago.
Assisted by: Bobby.
Author | Posts |
---|---|
September 11, 2024 at 9:09 am #16165303 | |
paulW-64 |
Background of the issue: Symptoms: Questions: |
September 11, 2024 at 6:39 pm #16167850 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, Please review the following Errata of a known issue between this plugin and WPML. https://wpml.org/errata/custom-permalinks-redirection-issue-with-trailing-slash/ There is a workaround listed, try it and let me know your results. |
September 12, 2024 at 1:12 am #16168449 | |
paulW-64 |
Unfortunately, this was no help. I'm sent to a 404 page rather than retrieving the translated page using the custom permalinks plugin. As shown by the uploaded image "wpml-cp-industry-sectors-tourism-fr-default-cp.png" I reviewed this article to see if it would help - https://wpml.org/faq/how-can-i-reconnect-taxonomy-translations-to-their-default-language-terms/ The taxonomy/category for the translated French was connected to the default language as expected. For the default languages these two (2) categories (Industry Sectors & Infrastructure) they have Custom Permalinks set as /industry-sectors/ & /industry-sectors/infrastructure/ For the translated categories which should be served at these slugs/permalinks When I viewed the translated categories However, this didn't, so I manually adjusted the permalink for this as a test As previously mentioned, I'm trying to avoid having to update/add a custom permalink for each language. I'm not sure if this is a potential indicator with an issue in WPML, but if you look at the uploaded image "wpml-cp-investment-type-energy-en-menu-default-cp.png" I hope that you can shed some light on this. |
September 13, 2024 at 3:59 am #16173847 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
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/ 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, |
September 16, 2024 at 12:17 am #16181038 | |
paulW-64 |
I will get this setup and let you know when code has been deployed to an environment that is accessible. |
September 16, 2024 at 5:14 pm #16185090 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Thank you. Note: If you get an email reminding you to reply to us and the environment is not ready yet, please just send a quick update to make sure the thread remains open due to our automatic system. |
September 18, 2024 at 10:46 pm #16195547 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
If you edit the categories that you shared you will notice that the ID language includes the kategorie in the custom permalink field. See here: hidden link Removing manually resolves the issue, which is what I believe you have been doing so far from my understanding. If you create a new category and translate it, are you able to reproduce this behavior? Unfortunately I do not believe that there is a way to remove /kategori/ in bulk, at least not from WPML. You could tinker with a find-and-replace plugin for example and see if that would work. |
September 19, 2024 at 12:13 am #16195621 | |
paulW-64 |
I have created a new category and assigned a custom permalink. I will just handle manually updating the categories as I add a new translation. I did have another issue where I was expecting that I would have a different Sitemap for each language as per the below URLs However, the Indonesian version shown above doesn't work. Upon looking at the "Page Sitemap" from the existing/default language - hidden link I wanted to verify that this is the correct behavior? |
September 19, 2024 at 10:32 pm #16200900 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, Yes, that is the expected behavior. The only time you will have a separate URL for the sitemap is if your site is using a different domain per language. |
September 20, 2024 at 12:27 am #16200976 | |
paulW-64 |
One last item, within Custom Permalinks after the initial Taxonomy translations, the default language has the following permalinks listed within the Custom Permalinks plugins /en/industry-sectors/ However, the links don't work and revert to what is set within the category settings of I wanted to know if you are aware of this issue? |
September 20, 2024 at 5:54 pm #16203923 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
I can see what you mean by reviewing it, however, the site is not set up to use the directory in the default language. You can confirm or adjust that within WPML->Languages, therefore it is expected that the /en/ will be stripped. Did the site use directories before at some point for the default language? |
The topic ‘[Closed] Custom Permalinks not for taxonomies/categories’ is closed to new replies.