Link Building Strategy: How to Create NoFollow and DoFollow Backlinks Code

dofollow backlink code
dofollow backlink code

Do you know how to put the dofollow backlinks code correctly?

The discussion about how to make dofollow and nofollow links is closely related to backlinks, or also known as dofollow backlinks and nofollow backlinks. The discussion about this link is not too complicated, but it is not trivial.

Because if you place and use this dofollow backlink HTML code correctly, then you can raise your article or content to the top rank in Google SERP.

How to create and get this dofollow backlinks?

Let’s look at the following explanation.


What are Dofollow Backlinks?

Before we start discussing how to create a dofollow link, it’s a good idea to first understand what a dofollow backlinks code is.

Dofollow is an HTML attribute whose job it is to code Google and other search engines to follow the ‘SEO value’ of a particular link. Simply put, this HTML attribute makes search engines like Google follow an existing link or URL.

This type of link is actually the default, meaning you don’t need to do any configuration anymore. It is because Google will automatically “follow” all the links in an article or content.

Usually dofollow links are found in the targeted keywords. The goal is to strengthen the SEO value of the article.

The opposite of dofollow, nofollow links actually aim to make Google not follow links embedded in articles. Nofollow links are useful for dealing with “bad” links.


Benefits of Dofollow and Nofollow Backlinks

Simply put, there are several uses for combining dofollow with nofollow. Here are some of the advantages of dofollow if you apply it on the website:

  • The link on the website can be a backlink.
  • Website rank can increase because of increasing visitors through good search engine rankings.


While the disadvantages of dofollow backlinks are as follows:

  • The number of spam comments that can enter the comments column. This comment contains things that are inappropriate and far from the topic of the article’s discussion.
  • Too many links can cause Google to penalize you.


Nofollow Backlink

Although most people don’t use it often, nofollow can be useful for many things, for example:

  • Maintaining the quality of SEO so it doesn’t go down in search engines
  • Reduce spam comments that are not in accordance with the article
  • Links become more controlled and this of course makes it easier for Google to follow them.


However, this type of link is not without its drawbacks. The drawback lies in the inability of nofollow links to provide influence (SEO) for their destination links.

Generally, dofollow and nofollow links have their respective places. Most users or website managers are used to using nofollow and dofollow links in their website content.

The goal is simple, which is none other than to increase the SEO value and also make it easier for visitors to visit the article, and make it easier for Google to crawl.


How to Create Dofollow and Nofollow Using WordPress

Maybe you think that how to create dofollow or rail nofollow links in WordPress is difficult. Of course not, the same is the case with how to create backlinks in WordPress.

To answer your doubts and confusion, here we will describe and explain in detail how to create nofollow and dofollow backlinks code in WordPress.

For the first step simply put the link you add to your content and it will be automatically become a dofollow link. To create the link, you just need to follow the guide below:

  • Mark the word/text that you want to give a nofollow link or a dofollow link.
  • Then, hover over the Gutenberg block editor and click the icon or press CTRL + K.
  • Copy the URL and paste it into the box that appears.
  • Click the sign (⋮) in the link settings and then you click “Open New Tab” so that when your website visitors click, they will be directly connected to a new window.

Note: You can also use the Classic Editor plugin and insert a link like the first image.


Creating Nofollow Backlinks with WordPress

Adding nofollow links is almost the same as dofollow, but there are a few other steps that you need to add. So you have to follow the steps above to create a dofollow backlink code, then you can follow the steps below to change nofollow to dofollow:

  • Click the icon (⋮) at the top of the block and select “Edit as HTML”.
  • After that you can see inside the HTML code. Add the rel=”nofollow” variable into the link line to make it a nofollow backlink.

How to Create Nofollow and Dofollow Backlinks with HTML Code

Here will be explained various kinds of HTML code for regular HTML code, Rail Tag URL NoFollow & DoFollow, URL Open New Tab, URL Link “Title” and Link URL Tag Style.

  • Regular HTML Code

To create a regular link, simply create it by:

<a href=”insert url”>TEXT</a>

For example, if you want to create a url on behalf of this blog, then the HTML code is:

<a href=””>WordPress Hosting</a>


<a href=””>Body Mass Index (BMI) Calculator</a>


<a href=””>Are Keywords in a Domain Name Important for SEO</a>


  • Rail Tag URL NoFollow and DoFollow

Actually there are 4 types of Rail tags namely nofollow, dofollow, Prev and Next, but here we will only discuss nofollow and dofollow rails. This HTML code is used the same as how to make nofollow in WordPress as discussed above.

<a href=”insert url” rel=”nofollow”>TEXT</a>


<a href=”insert url” rel=”dofollow”>TEXT</a>


  • URL Open New Tab

The URL code above means that when a word containing a link (Anchor Text) is clicked, it will be directed to the New Tab on the browser that is currently being used, both Google Chrome, Mozilla Firefox, Safari (Apple) and others.

<a href=”insert url” target=”####”>TEXT</a>

In the hashtag ##### above we can enter the code target=”_blank” or target=”top”.

The result will be as below:

<a href=”insert url” target=”_blank”>TEXT</a>


  • URL Link “Title”

The method is almost the same as the method above, only you need to add the “title” code.

<a href=”insert url” title=”WordPress Hosting Plans”>WP Hosting</a>


The function of this “title” code is when the mouse or cursor is directed to the Navigation Menu, the “title” that was previously installed in your website template will appear.

URL link “title” is often used to provide certain information before the link is actually opened by the reader.


  • Link URL Tag Style

In the words or sentences that you want to link, by default it only displays blue color. What if we replace it with another color?

<a href=”insert url” style=”color: red;”>TEXT</a>


You can also replace it with another color, and later it can be edited in the following way:

<a href=”insert url” style=”color: #333;”>TEXT</a>


<a href=”insert url” style=”color: #0000FF;”>TEXT</a>



If you want to minimize spam and comments that are not linked to your article, it is very important that you create this dofollow and rail nofollow link, considering that spam will be very detrimental to your website.

Use this link building strategy by creating nofollow and dofollow backlinks code, so that your website has a good ranking on Google.

Hopefully this article is useful for you.

Leave a Comment

%d bloggers like this:
Available for Amazon Prime