Hello @vezraimanuel
Thank you for your valuable suggestion.
Can you please tell us why would you prefer to have that?
Looking forward to hearing from you.
Thread Starter
V.E.L
(@vezraimanuel)
hello @rankmath
In most cases our editors sometimes forgot to change image link to directly access the physical file (for lightbox viewing and stuff). Instead they set it to go to attachment page (which is WP default option). I don’t think this is good for viewers since after the click they will be redirected to attachment page instead of staying on the article page.
I hope you can consider to add this feature, I’m sure some have same issues. cheers 🙂
Hello @vezraimanuel,
Thank you for the reply, I have added this in our feature list, and we will try to add this feature in one of the upcoming updates.
Hello @vezraimanuel
Sorry for a delayed response and not following up after adding the feature in the plugin.
You can add the following filter to achieve that:
https://rankmath.com/kb/filters-hooks-api-developer/#change-redirect-url
Hope that helps.
Thank you.