Links are an important element of web development and SEO. They help users move between web pages and transfer weight from one resource to another. The rel HTML attribute is used to define the relationship between pages linked by hyperlinks. Some of the most important attributes are dofollow, nofollow, noreferrer and noopener, each of which has a 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
Attributes dofollow and nofollow 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 carry any weight. It is often used for external links, advertisements or user content where control over the quality of the links is limited. This allows you to avoid potential sanctions from Google for artificial promotion of sites. Also, the use of 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 provide security and privacy when following a link. In today’s cyber security environment, these attributes are gaining more and more popularity as they protect users from potential threats.The noreferrer attribute prohibits the browser from transmitting information about the referrer (traffic source) of the site to which the transition is made. This can be useful in cases where the site owner wants to hide the source of the traffic or provide an additional level of privacy for users. For example, if you don’t want the owners of external resources to see from which site they were accessed, using noreferrer will help with this.
The noopener attribute is used to protect against tabnabbing attacks. If the link opens in a new tab (target=”_blank”), then without noopener an attacker can execute a malicious script that will change the original page. Using noopener prevents such attacks and makes browsing safer. This is especially important for sites that use a lot of external links that open in new tabs.
Using attributes for links in practice
When using links in HTML, it’s important to combine rel attributes correctly, considering their impact on SEO, security, and privacy. Here are some examples:
- Link – conveys weight and helps SEO.
- Advertising link – does not convey weight to search engines.
- Hides the referrer – does not transmit information about the source of the link.
- Safe opening in new tab – prevents tabnabbing attacks.
Combinations of attributes are also possible, for example:
- Maximum level of security – does not transmit the referrer and prevents attacks.
- No follow noreferrer link – useful for advertising.
When used correctly, these attributes can improve both the SEO performance and security of a website, as well as provide a better user experience. Additionally, setting up rel attributes correctly helps prevent sensitive information from leaking and increases 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 to effectively use all the possibilities of SEO and web development to achieve better results in search engines and increase the level of security of your site. PRY.AGENCY also offers a comprehensive audit of your web resource, analysis of competitors and creation of an effective promotion strategy.




