- 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
4 REASONS WHY INFOGRAPHICS CAN CREATE BACKLINKS Every blogger should strive hard to create backlinks to his or her blog. Like i always said backlinks are the backbones of any blog. And you know nobody co… Read More
20 Plus Sites You Can Comment To Get Backlinks To Your Blog or Website One of the ways to drive traffic to your blog is through backlinks. Organic backlinks are very hard to build and it takes a long time to materialized. There… Read More
7 ways to create a successful blog or website You can make an effective site by giving clients and visitors precisely what they need, rather than demanding to give them what you like! For making an effe… Read More
10 SEO And Backlinks Steps You Should Use 10 SEO And Backlinks Steps You Should Use 1. The number one thing you need to do is to create a list of targeted keywords. Keywords an targeted ones to be pr… Read More
Get Massive Traffic To Your Site Via Forbes Comments Forbes is a highly respected magazine website for business related topics. Forbes is a great tool for bloggers and website owners to drive massive traffic t… Read More
Comments
Post a Comment