How to add Automatic Internal Linking in Blogger Posts | Blog me automatic internal linking kaise kare

Hello friends welcome to our blog named Exam Target HK. Today I am going to tell you how to put related post internal in each post of your blog. How to do automatic internal linking in blogger blog post.

Internal Linking क्या है / What is internal linking?

Friends, when we write any post in our blogger, then when our post is completely ready, after that we manually put the links of our other posts in that blog, that is what we call internal linking. 
 
Due to this, whenever a visitor visits our blog, he also clicks on those links, this not only increases our traffic, but also if we have the approval of google adsense, then our income also increases. That is why internal linking is done in blogs, this also leads to on-page SEO of our post.

How is automatic internal linking done in blogger?

Friends, it is very easy to do internal linking in the blog, I am going to tell you below. For this, you should follow the points given below carefully;-

Point no. 1

First of all, login to your blogger.com and open your account. Now after this click on the theme and then click on edit html. Now an html page will open in front of you, in which all the html coding of your entire blogger will be there.

Now you have to find this code by pressing control + F here </head> and simply copy and paste the code given below above this code.

<b:if cond='data:blog.pageType != &quot;index&quot;'> <style type='text/css'> /* Multi Related Post */ .gourabdesignmultiRelated{background-color:#e3feff;color:#002bff;margin:15px auto;display:-moz-box;display:-ms-flexbox;border-radius: 50px;border: 2px solid #00eaff;display:flex;flex-wrap:nowrap;justify-content:space-between;overflow:hidden;transition:all .3s} .gourabdesignmultiRelated:hover{background-color:#feffe6} .gourabdesignmultiRelated .content{padding:6px 27px} .gourabdesignmultiRelated .content .text{margin-right:9px} .gourabdesignmultiRelated .content a{color:#f00;text-decoration:none;line-height:1.5em} .gourabdesignmultiRelated .content a:hover{text-decoration:underline} .gourabdesignmultiRelated .icon{height:auto;min-width:55px;background:#20757d url(&quot;data:image/svg+xml,%3Csvg viewBox=&#39;0 0 24 24&#39; xmlns=&#39;http://www.w3.org/2000/svg&#39;%3E%3Cpath d=&#39;M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z&#39; fill=&#39;%23fff&#39;/%3E%3C/svg%3E&quot;) center / 40px no-repeat;transition:all .3s} </style> </b:if>

Now you have to save theme by clicking on Save.

Point no. 2

Now you have to search this <Data:post.body/> code, after searching, paste the below code below this code.

<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'] = 'gourabdesignmultiRelated';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='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=100&quot;'/> </b:if> </b:loop> </b:if> <script type='text/javascript'> </b:if>

After pasting, now you have to click on save theme. Now automatic internal linking has been added to all the posts of your blog.

Information

<Data:post.body/> This code can occur more than 1 time in your blog . In this case, paste this code below the code of the second number. If there is still a problem, then check all the <Data:post.body/> times you find this code below, this code will start working in your blog.

last word

Hopefully automatic internal linking has been successfully installed in your blog post. If you have any problem in applying the code or any problem inside the code, then you must tell us by commenting.
Next Post Previous Post
No Comment
Add Comment
comment url