- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
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
("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.
RANDOM POSTS
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
("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.
RANDOM POSTS
15 STEPS TO POST TO YOUR BLOGGER OR BLOGSPOT THROUGH EMAIL
Blogging Tool : use Flickr to locate right photograph for your blog posts
Related Posts
50 Best Article Directories Or Submission Websites I have written few articles about the importance of submitting your posts to article directories. This will give your articles a wide exposure as well as ba… Read More
How to uncovered hidden files and remove shortcut virus from your drive How to unhide files and remove shortcut virus from your drive 1. Plug in the flash drive or mobile phone to your computer 2. Take note of the drives let… Read More
6 negative sides of Google adsense 6 dark sides of Google adsense Google AdSense is a great way to make money from your site but you need to comply with certain policies to be able to stay in … Read More
To create a new project in RSS to Blogger Poster To create a new project in RSS to Blogger Poster you simply need to enter the tool using the main menu "Tools"-"RSS to WordPress Poster". Another way is … Read More
12 Ways To Rank Faster In Search Engines Like Google One of the problems bothering new bloggers and even many already established bloggers is how to get their blog rank fast in google and other search engines.… Read More
Comments
Post a Comment