I’m looking for a plugin or a setting which can add a warning page before redirecting to an external link in any topic, of-course on a self hosted discourse instance. The intention is to prevent phishing attacks.
You can rewrite external links using a theme-component as described by Redirect Page for External URLs - #14 by Johani
Alright. While exploring, I found this plugin https://github.com/discourse/discourse-affiliate which I guess can be forked and modified for my use-case. What do you say?
That’s even better, as it will affect how the links are saved in the database.
Oh! Does that mean existing topics won’t have this change if I add this plugin now?
You can Rebake all posts matching a pattern to change old posts.
We also have this old topic on the matter
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.