[Resolved] Houzez theme permalinks slug not updated
This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was trying to translate permalinks slugs for the custom taxonomies set from the Houzez theme but encountered issues where the expected translated slugs were not appearing, and instead, the original language slug was still being used. Additionally, the client faced 404 errors on the translated pages.
Solution:
Note: While using the theme Houzez, make sure that you translate the custom taxonomies that come with the theme only from the page: WPML -> Settings -> Taxonomies Translation section (all the taxonomies that come with the theme are set here). You shouldn't add the strings that end in "_rewrite_base" for translation in the WPML -> String Translation, as it will give error 404 on the translation pages.
For the strings that show on the property page (ex: "Garage size" or "Description"), you should check on WPML -> String Translation and translate those strings from there.
1. We recommended flushing the website's cache and then navigating to WP Admin -> Settings -> Permalinks to click the "Save" button, which flushes the permalinks.
2. We advised checking the documentation for using the Houzez theme with WPML, specifically for translating taxonomies:
3. We instructed the client to add strings for translation from WPML -> String Translations -> Translate texts in admin screens, and to change the string language to "BG" as they are set to English by default.
4. We clarified that the string "features" from the domain "houzez_settings]property_feature_rewrite_base" should not be translated in WPML -> String Translation, as it is should be translated in WPML -> Settings -> Taxonomies Translation section.
5. For the author page translation, we explained that the bio/description found on the author's page in the backend is translatable using WPML -> String Translation -> More options. Also, the theme Houzez has a custom post type "Agents" and offers the possibility to translate it as any other default post type.
If this solution does not seem relevant to your situation, please open a new support ticket with us.
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.
Thank you for contacting WPML Support, I will be happy to help you.
1) I would first suggest you flush the cache of the website, then go to WP Admin-> Settings -> Permalinks and just click the button "Save", that will flush the permalinks.
1) Could you please try clearing the website cache (server side included) and see if the issue persists?
2) If the issue persists, I would suggest you check if the issue happens in a minimal setup, that meaning:
- keep the theme you have
- activate the WPML plugins with the necessary plugins to run the theme
- disable all the other themes
After, check if the issue happens again, this will help checking if there is any plugin conflict or plugin incompatibility causing the issue.
There's no cache server side or WP-side while I'm buildling the website.
As you can see yourself with the admin login, I've deactivated all plugins except WPML-related ones, the issue still persists, so it might come from WPML?
I was able to check a bit further on the staging site, activating some of the necessary plugins to run the website and the property management part, I created a new testing property(hidden link) in the main language and after translated it in English and it works.
I also noticed that some of the properties are working as well, like this one for ex: hidden link
In order to further translate the text like "Description" on the property page, you should check for "admin_texts_houzez_options" on the WPML -> Strings Translation page.
I would suggest you check that the properties are translated correctly and maybe try making a small change on the title of the properties just to trigger an update on the default language as well as on the translation.
Also: "In order to further translate the text like "Description" on the property page, you should check for "admin_texts_houzez_options" on the WPML -> Strings Translation page."
I find nothing when I do this, please check the screenshot.
You still have the same admin access rights to check those two issues for yourself.
1) For the slug translation, please make sure they are properly translated even on the page: WPML -> Settings -> Taxonomies Translation section (check attached image)
2) Related to the text like "Description", sorry as maybe I didn't express myself correctly, you need to look for the strings like "Description" while having selected the domain admin_texts_houzez_options" (please check attached image).
3) As for the breadcrumbs, I am not sure how are they added to the website as from the RankMath SEO plugin I noticed that they are disabled (image attached).
* Note: I notice that you are using LiteSpeed server which is known for its great cache/speed feature, I would suggest you check for any configuration/mechanism on the server and try flushing the whole website cache. (In some cases depending on the hosting company it might take a bit till it refreshes and it affects the website).
* I tired activating/deactivating the plugin WP Super Cache, but not change.