Skip Navigation

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.

This topic contains 1 reply, has 0 voices.

Last updated by Dražen 5 months, 3 weeks ago.

Author Posts
December 18, 2024 at 9:23 am #16524832

milanP-8

Background of the issue:
I am trying to use the feature 'Added support to automatically convert target links in WYSIWYG fields' introduced in version 2.1.0. Our page relies on custom add_rewrite_rules and virtual pages, and this feature is altering our URLs incorrectly. We need to opt-out from this functionality to maintain control over our URLs. Currently, the only solution is manually editing the plugin's source code and managing updates to disable it after every update. Link to a page where the issue can be seen: hidden link

Symptoms:
The feature is altering our URLs incorrectly on the Frontend, and we have to manually edit the plugin's source code to disable it after every update.

Questions:
How can we opt-out from the automatic conversion of target links in WYSIWYG fields?
Is there a way to maintain control over our URLs without manually editing the plugin's source code?

December 18, 2024 at 2:24 pm #16526361

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

Please try next, but make sure to try it and test on staging site. Use Sticky links and wpml_sl_blacklist_requests to remove URLs from being altered, that way you can manually adjust it how you wish.

- https://wpml.org/documentation/getting-started-guide/sticky-links/

Regards,
Drazen

The topic ‘[Closed] 2.1.0. Added support to automatically convert target links in WYSIWYG fields’ is closed to new replies.