rel attribute for external links (HTML <A> tag)

  • 🇵🇦 Nuestro primer dominio localizado está en español en kiwifarms.pa. Our first localized domain is on Spanish on kiwifarms.pa.
  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
Estado
No está abierto para más respuestas.

gREEEEEEEEEr

kiwifarms.net
Registrado
15 de Dic, 2017
External links are tagged with rel="nofollow", which tells search engines not to follow the link or give SEO to the external URL. But there are a few other rel types that I think should be added.

external: tells the browser that it's an external site. I'm not actually sure that this one does anything. It's more just an informative thing. It doesn't tell the browser to open it in a new window/tab (target="_blank" does that), and it doesn't tell search engines not to follow the link (nofollow does that).

noopener: tells the browser not to give the linked page access to the page that opened it. This is important for security as it will prevent links from giving the linked page access to scripts/objects back on the Kiwifarms page. This is important for security.

noreferrer: tells the browser not to tell the linked page the URL of the page the visitor came from (i.e. Kiwifarms). This would prevent Kiwifarms from showing up if they have any visit tracking on their page. Note that the NoScript add-on does not prevent sites from tracking visitors based on the referrer, so even users who browse with scripts disabled may be revealing this info to outside webmasters.

So, the list that I'd suggest we use for external links is:

rel="external nofollow noopener noreferrer"

Thoughts/comments?
 
I wonder if noreferrer would fix the imgur issue.
What's the imgur issue? I don't think the rel attribute would work on an <img> tag... if that's what you mean, then I think the experimental attribute
referrerpolicy="no-referrer" might do the trick, assuming the browser supports it.
 
Estado
No está abierto para más respuestas.
Atrás
Top Abajo