Problem: The client noticed that some links on their multilingual website still pointed to the old URL after a site migration. This issue was not consistent across all pages. Solution: First, we recommended that the client back up the site and update all Elementor plugins to the latest version to ensure compatibility and functionality. After updating, we provided a Custom XML configuration to help correctly translate the links within Elementor widgets. The client should add the following XML configuration to their WPML settings:
If this solution does not resolve the issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum.
Проблема: Клиенту требуется синхронизация категорий товаров между оригиналом и всеми переводами для использования в cron. Решение: Мы рекомендуем разработать собственное решение для программной синхронизации категорий, так как WPML / WooCommerce Multilingual не предоставляют прямого API для этого. Вы можете изучить внутреннюю логику плагина WPML, в частности код, отвечающий за синхронизацию категорий, чтобы разработать собственное решение. Однако, вмешательство во внутренние классы WPML не рекомендуется из-за возможных изменений в структуре кода в будущих версиях.
Если данное решение окажется неактуальным или не подходит под ваш случай, мы настоятельно рекомендуем открыть новый тикет поддержки. Также рекомендуем проверить известные проблемы, убедиться в версии исправления и подтвердить, что у вас установлены последние версии тем и плагинов.
Problem: You are experiencing an issue where hreflang tags on custom post type (CPT) archives for 'event' are incorrectly pointing to the homepages instead of the translated archive pages. This issue is causing 'missing reciprocal hreflang' errors in SEO audits.
Solution: First, ensure that your CPT 'event' is set to 'Translatable' in WPML settings and that translations for the archives are properly connected. If the issue persists, the problem might be related to the theme or specific customizations in your theme's functions.php file. Here are the steps we recommend: 1. Verify the CPT registration settings. It should look like this:
2. If you are using a child theme or have custom functions that modify the query, ensure they are not affecting the hreflang output. For example, check if modifications in the functions.php like custom query filters are interfering. 3. Test with a default theme (e.g., Twenty Twenty-Five or Elementor parent) to see if the issue resolves, indicating a theme-specific problem. 4. If these steps do not resolve the issue, it might be due to limitations in the ACF or WPML integration or a need for manual adjustments in the theme or plugin settings.
This solution might be outdated or not applicable to your specific case. If the problem persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket at WPML support forum for further assistance.