Skip navigation

Помечено: 

Эта тема содержит 0 ответов, имеет 1 голос.

Последнее обновление: seemaD 1 год, 1 месяц назад.

При содействии: Noman.

Автор Записи
27 декабря, 2023 на 11:27 дп #15131875

seemaD

Before using WPML:
1. My site is not a multisite.
2. I created a post (in English) in WordPress with the title "This is my first test post," and the URL became скрытая ссылка.
3. I have a custom plugin, and using that plugin, I can convert the content of the above post to a different language (e.g., French).
4. When I converted (by using that custom plugin) the content of the above post to French, the URL became скрытая ссылка.

After using WPML:
1. When I add a custom language "fr-fr" to WPML instead of pre-defining "fr," the existing post's URL structure breaks, and the URL becomes скрытая ссылка.
2. But when I created a new post (in English) with the title "This is my second test post" (скрытая ссылка) and converted it to French by using WPML's job (скрытая ссылка), it was working.

Now, my requirement is to have both plugins functioning in my application so that my new posts as well as my existing posts work fine and the URL for existing posts doesn't change.

Note: I have debugged the hooks of WPML a lot and found my request url is redirecting to the post, which is written in English (скрытая ссылка).