Wednesday, May 27, 2020
Home > Uncategorized > 11 STEPS TO AUTOMATICALLY LINK KEYWORD IN BLOGGER

11 STEPS TO AUTOMATICALLY LINK KEYWORD IN BLOGGER

image_pdfimage_print

Linking keywords from post to post is referred to as anchor linking.

This is one of the best SEO strategies for higher blog and post

ranking in search engines.

Linking keywords in posts is very easy in wordpress because of the

availability of plugins. For instance, i used ‘SEO smart plugin’ to

automatically link keywords in my blog www. letgoonline.website on

wordpress. Such is not possible in blogger. However, the following

steps will help to link only ‘one’ keyword together whenever it

appears on your blog to a particular/specified URL.

Let say you choose to link the keyword ” blog” in the script

and the URL you want this

script to link to

is www.letgoonline.com/2016/02/how-to-make-money-online-from-clickbank.html?m=1

This means that after

adding the script in the template

code, all posts with the

keywords ” blog” will be link to

that post.

11 STEPS TO AUTOMATICALLY LINK KEYWORD IN BLOGGER

1. Go to your Blogger Dashboard

2. Click on Template

3. Click Edit

HTML.

4. Press Ctrl + F

5. Search for </

body> tag.

6. Copy the code below and

paste above it.

<script src=’//

ajax.googleapis.com/ajax/libs/
jquery/1.10.2/jquery.min.js’/
>

<script type=”text/

javascript”>function autoLink(){

this.keywdHref = new Object();

this.add = function(keyword,

href){

if(keyword.substr(0,1) !=

""){keyword = "

" +keyword;}

this.keywdHref[keyword] = href;

}

this.createAnchor = function(){

var objs

=document.getElementsByTagName

("div");

for(var i=0; i<objs.length; i++){

var obj = objs[i];

if(obj.className.indexOf

("post-body")>-1){

var content = obj.innerHTML;

for(var keyword in

this.keywdHref){

var href = this.keywdHref

[keyword]

;

var newstr =content.replace

(keyword, "<a href=&#

39;"+href+"&#

39;>"+keyword

+"</

a>", "gi");

obj.innerHTML = newstr;

content = newstr;

}

}

}

}

this.startScript = function(){

var onLoad = window.onload;

window.onload = function(){

if(onLoad){onLoad();}

setTimeout

READ  10 STEPS TO USE PAYU TO PAY FOR FACEBOOK ADS IN NAIRA

("f.createAnchor()",

100);

}

}

}

</script>

<script type=”text/javascript”>

var f = new autoLink();

f.add("KEYWORD

"," www.letgoonline.com/2016/02/how-to-make-money-online-from-clickbank.html?m=1/
"
);

f.startScript();

</script>

7. Replace only the ‘KEYWORD’ written in capital letter located

towards the end of the code with

with your Keyword e.g ‘blog’.

8. Replace the URL

(www.letgoonline.com/2016/02/how-to-make-money-online-from-clickbank.html?m=1)

below the KEYWORD with

your own blog post URL (not

homepage) where you want the keyword anchor link to link to.

9. Save template

10. Congrat! All your

post that contains that Keyword will link to

the post you included it’s URL in

the script.

11. It is important to know that you can only link one keyword with this script.

Share Button
Pls SUBSCRIBE below to our mailing list to get fresh updates on money making and inspiring articles.
Akinola
Akinola
Akinola Olusegun is a blogger and publisher of this blog, money247.com.ng. You can also check out his other blogs : segtv.com.ng (videos & news), letgoonline.com.ng (e-commerce), letgoonline.com.ng/blog (news) among others. Follow him via any or all of his social media pages to get fresh posts update.
http://www.money247.com.ng

3 thoughts on “11 STEPS TO AUTOMATICALLY LINK KEYWORD IN BLOGGER

  1. I believe everything said made a great deal of sense.

    However, think on this, suppose you wrote a catchier post title?
    I am not suggesting your content isn’t good.,
    but suppose you added a title that grabbed a person’s attention? I mean 11 STEPS TO AUTOMATICALLY LINK KEYWORD IN BLOGGER | Make
    Money is kinda boring. You could peek at Yahoo’s front page and watch how they create article headlines to grab people to click.
    You might add a video or a pic or two to get people excited about everything’ve got
    to say. In my opinion, it would bring your posts a
    little bit more interesting.

Leave a Reply

Your email address will not be published. Required fields are marked *