rel attribute explanations in anchor html element
Definition and Usage of REL attribute on anchor/hyperlink
rel attribute indicates the relationship between the current document and the linked document.
Only used if the
href attribute is present.
Tip: Search engines can use this attribute to get more information about a link!
In short, the
noreferrer link type hides referrer information when the link is clicked. A link with the
noreferrer link type looks something like this:
<a href="http://www.webmanajemen.com" rel="noreferrer">Click here for more info</a>
If someone arrives at your site from a link that uses this link type, your analytics won’t show who refered that link. Instead, it will mistakenly show as direct traffic in your acquisition channels report.
If you have an external link to someone else’s site you don’t trust and you want to hide referrer information then you can combine both and use
<a href="http://example.com/sample_page/" rel="noreferrer nofollow">Other Domain Link</a>
I advise you to use
nofollow links for the following content:
- Links in comments or on forums - Anything that has user-generated content is likely to be a source of spam. Even if you carefully moderate, things will slip through.
- Advertisements & sponsored links - Any links that are meant to be advertisements or are part of a sponsorship arrangement must be nofollowed.
- Paid links - If you charge in any way for a link (directory submission, quality assessment, reviews, etc.),
nofollowthe outbound links
NOREFERER ON NETWORK
<a href="http://someurl.here" target="_blank">Link</a>\
Looks innocuous enough, but there’s a hole because, by default, the page that’s being opened is allowing the opened page to call back into it via window.opener. There are some restrictions, being cross-domain, but there’s still some mischief that can be done
window.opener.location = 'http://gotcha.badstuff';
noreferrer most browsers will disallow the
NOREFERER GOOGLE ANALYTICS AFFECT
noreferer should indicated as direct traffic on analytics
rel="noreferrer" attribute on outbound links if you don’t want other websites to know that you are linking to them. I can’t think of a good reason why you would want to do this, but yes.
Do not use the
rel="noreferrer" attribute for internal links. This can mess up your Google Analytics reports.
LINK relationship values reserved for toolbars are:
The link references a
home page or the
top of some hierarchy.
The link references a document serving as a
table of contents.
The link references a document providing an
index for the current document.
The link references a document providing a glossary of terms that pertain to the current document.
The link references a copyright statement for the current document.
When the document forms part of a hierarchy, this link references the immediate parent of the current document.
The link references the next document to visit in a guided tour.
The link references the previous document in a guided tour.
The link references a document offering help, e.g. describing the wider context and offering further links to relevant documents. This is aimed at reorienting users who have lost their way.
Bookmarks are used to provide direct links to key entry points into an extended document. The TITLE attribute may be used to label the bookmark. Several bookmarks may be defined in each document, and provide a means for orienting users in extended documents.
An example of toolbar LINK elements:
<LINK REL=Previous HREF=doc31.html> <LINK REL=Next HREF=doc33.html> <LINK REL=Bookmark TITLE="Order Form" HREF=doc56.html>
Source toolbar from: The Head Element and Related Elements
Links that are advertisements or paid placements (commonly called
paid links) are flagged with the value “Sponsored”. More information on Google’s stance on paid links.
<a rel="sponsored" href="https://cheese.webmanajemen.com/Pinneapple_Apple_Pen">Pinneapple Apple Pen</a>
nofollowattribute was previously recommended for these types of links and is still an acceptable way to flag them, though
We recommend marking user-generated content (UGC) links, such as comments and forum posts, with the ugc value.
<a rel="ugc" href="https://cheese.webmanajemen.com/Pinneapple_Apple_Pen">Pinneapple Apple Pen</a>
nofollow value when other values don’t apply, and you’d rather Google not associate your site with, or crawl the linked page from, your site. For links within your own site, use the robots.txt
<a rel="nofollow" href="https://cheese.webmanajemen.com/Pinneapple_Apple_Pen">Pinneapple Apple Pen</a>
Crawable Links SEO
Resolvable Links SEO
Ensure that the URL linked to by your
<a> tag is an actual web address that Googlebot can send requests to, for example:
- 1. Definition and Usage of REL attribute on anchor/hyperlink
- 2. NOREFERER
- 3. LINK TOOLBARS
- 4. SPONSORED
- 5. UGC
- 6. NOFOLLOW
- 7. Crawable Links SEO
- 8. Resolvable Links SEO