[pmwiki-users] RFC: Adding rel="noreferrer" to external links

Petko Yotov 5ko at 5ko.fr
Fri Mar 28 13:10:13 PDT 2025


There is a request to add the "noreferrer" keyword to the external link 
HTML template.

   https://www.pmwiki.org/wiki/PITS/01520


What rel="noreferrer" does

The rel="noreferrer" attribute prevents the browser from sending the 
referring page's URL to the linked website. It also disables the 
window.opener property for security.

Benefits of Changing the Default:

- Privacy: Users' browsing history is not shared with external sites.

- Security: Prevents external sites from manipulating the original page 
using window.opener.

Drawbacks of Changing the Default

- Loss of referral data: External sites cannot see where visitors came 
from.

- May affect affiliate links: Some tracking systems rely on referral 
data.


This can be easily added or removed by a wiki administrator by 
redefining $UrlLinkFmt, but currently, it is not enabled. The feature 
request asks for it to be enabled by default.

What do you think? Should this change be made? You can join the 
discussion here:
   https://www.pmwiki.org/wiki/PITS/01520

Petko



More information about the pmwiki-users mailing list