How to Automatically Interlink Your Posts » Autointerlinking

What is linking?

What is linking?

The process of establishing relationship between two webpages(either same website or different) which is related to each other is called linking.

What is internal linking in SEO?

Internal linking in SEO is a process of linking a webpage to other webpage on same domain. It is a link to visit other pages of a site from one page.

what is automatic internal linking?

Automatically linking to different pages of a website (under same domain) is called automatic internal linking. It saves time and improves on-page SEO automatically. It decreases bounce rate. Improves views to older posts.

How to automate internal linking of blog posts?

Some code (pre-written) will be given to simplify your work. To automate internal linking follow there steps-

This steps are to be followed to automate internal linking in blogger. If you want to do this in WordPress you can try. Need my help comment below.

  1. Visit blogger dashboard, go to "theme", then click on "edit html".
  2. Search </head> by pressing ctrl+f.
  3. Copy the CSS code (given below) and paste it before </head> tag.
  4. Again search for </data:post.body/> and and after this code paste the HTML code (given below).
  5. Then save theme and view your blog post
HTML and CSS

CSS code »

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<b:if cond='data:blog.pageType != "index"'> <style type='text/css'>
/* Internal Links */

.awsomemultiRelated {
    background-color: background: -moz-linear-gradient(27deg, rgba(255,0,255,1) 0%, rgba(0,255,255,1) 100%); /* ff3.6+ */
background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(255,0,255,1)), color-stop(100%, rgba(0,255,255,1))); /* safari4+,chrome */
background: -webkit-linear-gradient(27deg, rgba(255,0,255,1) 0%, rgba(0,255,255,1) 100%); /* safari5.1+,chrome10+ */
background: -o-linear-gradient(27deg, rgba(255,0,255,1) 0%, rgba(0,255,255,1) 100%); /* opera 11.10+ */
background: -ms-linear-gradient(27deg, rgba(255,0,255,1) 0%, rgba(0,255,255,1) 100%); /* ie10+ */
background: linear-gradient(63deg, rgba(255,0,255,1) 0%, rgba(0,255,255,1) 100%); /* w3c */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff00ff', endColorstr='#00ffff',GradientType=1 ); /* ie6-9 */
    color: #FFFFFF;
    margin: 15px auto;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow: hidden;
    transition: all .3s
}

.awsomemultiRelated:hover {
    background-color: #b7a6a5
}

.awsomemultiRelated .content {
    padding: 12px 15px
}

.awsomemultiRelated .content .text {
    margin-right: 5px
}

.awsomemultiRelated .content a {
    color: #000;
    text-decoration: none;
    line-height: 1.5em
}

.awsomemultiRelated .content a:hover {
    text-decoration: underline
}

.awsomemultiRelated .icon {
    height: auto;
    min-width: 55px;
    background: #f44336 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' fill='%23fff'/%3E%3C/svg%3E") center / 40px no-repeat;
    transition: all .3s
}

</style> </b:if>

HTML code »

1
<b:if cond='data:view.isPost'><script type='text/javascript'>//<![CDATA[// Multi Related Post(function(){var jumlah=4;let post=document['querySelectorAll']('.post-body br, .post-body p'),a=jumlah + 1,b=post['length'] / a;c=Array['from']({length: jumlah}, (redfx, blufx)=> blufx + 1);for (let d=0; d < c['length']; d++){let e=c[d],f=parseInt((b * e)),g=document['createElement']('div');g['className']='awsomemultiRelated';if (post[f]['nodeName']=='P'){post[f]['parentNode']['insertBefore'](g, post[f])}else{post[f]['parentNode']['insertBefore'](g, post[f]['nextSibling'])}}})();var relatedTitles=new Array();var relatedTitlesNum=0;var relatedUrls=new Array();function related_results_labels(nerdfx){for (var desfx=0; desfx < nerdfx['feed']['entry']['length']; desfx++){var nefx=nerdfx['feed']['entry'][desfx];relatedTitles[relatedTitlesNum]=nefx['title']['$t'];for (var ciafx=0; ciafx < nefx['link']['length']; ciafx++){if (nefx['link'][ciafx]['rel']=='alternate'){relatedUrls[relatedTitlesNum]=nefx['link'][ciafx]['href'];relatedTitlesNum++;break}}}}function removeRelatedDuplicates(){var viefx=new Array(0);var labfx=new Array(0);for (var desfx=0; desfx < relatedUrls['length']; desfx++){if (!contains(viefx, relatedUrls[desfx])){viefx['length'] +=1;viefx[viefx['length'] - 1]=relatedUrls[desfx];labfx['length'] +=1;labfx[labfx['length'] - 1]=relatedTitles[desfx]}};relatedTitles=labfx;relatedUrls=viefx}function contains(yelfx, yufx){for (var grefx=0; grefx < yelfx['length']; grefx++){if (yelfx[grefx]==yufx){return true}};return false}//]]></script> <b:if cond='data:post.labels'> <b:loop values='data:post.labels' var='label'> <b:if cond='data:view.isPost'> <script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels&max-results=100"'/> </b:if> </b:loop> </b:if><script type='text/javascript'>//<![CDATA[(function awsomemultiRelated(){var text='Also read :';let r=Math['floor']((relatedTitles['length'] - 1) * Math['random']());let i=0;let jumlah=document['querySelectorAll']('.awsomemultiRelated');while (i < relatedTitles['length'] && i < jumlah['length']){for (let a=0; a < jumlah['length']; a++){jumlah[a]['innerHTML']='<span class="content"><span class="text">' + text + '</span><a href="' + relatedUrls[r] + '" title="' + relatedTitles[r] + '">' + relatedTitles[r] + '</a></span><span class="icon"></span>';if (r < relatedTitles['length'] - 1){r++}else{r=0};i++}}})();//]]></script></b:if>

or click here to download this code

What is minimum requirements for using automatic internal linking?

There are some minimum requirement for thing this trick. let's know whict are those.

  1. You should have minimum 4 post on each label
  2. To edit the design of link, you should have coding knowledge

What's the benefits of automatic internal linking?

    Automatic internal linking has infinitely many benefits. Let's know some of them

  1. Increase watch time on your blog
  2. Increase on-page SEO as internal linking is a part of it
  3. Older posts also get views
  4. Obviously saves your precious time

Comments