Links are an important element of web development and SEO. They help users navigate between web pages and transfer weight from one resource to another. The HTML rel attribute is used to define the relationship between pages that are linked together using hyperlinks. Some of the most important attributes are dofollow, nofollow, noreferrer, and noopener, each of which performs its own specific function. Understanding their role and using them correctly allows you to optimize your site for both search engines and users.
Dofollow and Nofollow: Impact on SEO
The dofollow and nofollow attributes are the most important for SEO. Dofollow links transfer weight from one page to another, helping to increase its authority in the eyes of search engines. Such links help improve the ranking of the web page to which the link leads. For example, if your site receives a dofollow link from an authoritative resource, its position in search results can improve significantly.
On the other hand, nofollow is used to tell search engines that this link should not be given any weight. It is often used for external links, advertisements, or user-generated content where there is limited control over the quality of the links. This helps to avoid potential penalties from Google for artificially promoting sites. Also, using nofollow helps to regulate the distribution of internal link weight on the site, which can affect the indexing of pages.
Noreferrer and Noopener: security and privacy
The noreferrer and noopener attributes do not directly affect SEO, but they do provide security and privacy when clicking on a link. In today’s cybersecurity environment, these attributes are becoming increasingly popular because they protect users from potential threats.
The noreferrer attribute prevents the browser from transmitting information about the referrer (traffic source) of the site to which the link is being redirected. This can be useful in cases where the site owner wants to hide the source of traffic or provide an additional layer of privacy for users. For example, if you do not want external resource owners to see which site they came from, using noreferrer will help with this.
The noopener attribute is used to protect against tabnabbing attacks. If a link opens in a new tab (target=”_blank”), then without noopener an attacker can execute a malicious script that will change the source page. Using noopener prevents such attacks and makes web browsing safer. This is especially important for sites that use many external links that open in new tabs.
Using link attributes in practice
When using links in HTML code, it is important to correctly combine rel attributes, taking into account their impact on SEO, security, and privacy. Here are some examples:
- <a href=”https://example.com” rel=”dofollow”>Link</a> – conveys weight and helps SEO.
- <a href=”https://example.com” rel=”nofollow”>Promotional link</a> – does not convey weight to search engines.
- <a href=”https://example.com” rel=”noreferrer”>Hide referrer</a> – does not convey information about the source of the transition.
- <a href=”https://example.com” target=”_blank” rel=”noopener”>Secure open in new tab</a> – prevents tabnabbing attacks.
Combinations of attributes are also possible, for example:
- <a href=”https://example.com” target=”_blank” rel=”noopener noreferrer”>Maximum security level</a> – does not convey the referrer and prevents attacks.
- <a href=”https://example.com” rel=”nofollow noreferrer”>Links without weight transfer and without referrer</a> are useful for advertising.
When used correctly, these attributes can improve both SEO performance and website security, as well as provide a better user experience. In addition, properly setting rel attributes helps prevent the leakage of sensitive information and increase control over how search engines and users interact with your content. This is especially important for sites operating in competitive niches, where every optimization factor can affect search engine rankings.
If you need help setting up the right link attributes, SEO optimization, or improving the security of your site, contact PRY.AGENCY. The agency’s team will help you effectively use all SEO and web development opportunities to achieve the best results in search engines and improve the security level of your website. PRY.AGENCY also offers a comprehensive audit of your web resource, analysis of competitors and creation of an effective promotion strategy.




