LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » HTML-CSS-PHP-JavaScript / JavaScript Codes » Make All External Link NoFollow And Internal DoFollow

Make All External Link NoFollow And Internal DoFollow

Make-All-External-Link-NoFollow-And-Internal-DoFollow
More recently after Google Panda Update we have a lot of importance of no-follow tag inside links because is it doesn’t final hope to help secure your PageRanks veggie juice. One of the useful opportinity for best Search engine marketing for your weblog is making just about all external links nofollow. NoFollow tag aids your blog undertake a stable ranking from search engines. Actually, Search engine optimization robots come in your blog and these people visit all links put into your blog post. Its an intelligent to hold those robots in your blog and let them index only your blog posts. By employing nofollow, your link juice just isn’t shared with others which result in a stable Google pagerank.

Now there are many one available only but not features are ok to use them because you have to watch out your loading time too so think twice before using the codes on your web that can make your loading time high of bad SEO effect. But this one is light weight and have to bunch of codes. All is here you you also do not have to hit any others URLs. Now go for it and garb the code to use it.

Features:

1.) Pure JavaScript Added.
2.) No External JavaScript Or JQuery File.
3.) No CSS Added.
4.) Simple And Fast Loading Code.
5.) Can Work With Any Browser.

How To Add In A WebPage?

1.) Just Go To Your “Web Page File”.
2.) Now “Copy” The Below Codes And “Paste” It To There Positions.
3.) “Save” It, Now You Are Done.

JavaScript:

<script type="text/javascript">
window.onload=function(){
for(var i=0; i<document.getElementsByTagName("a").length; i++){
var lk = document.getElementsByTagName("a")[i];
var rslt = lk.getAttribute("href").search("http://www.exeideas.com");
if(rslt == -1){
lk.setAttribute("rel", "nofollow");
lk.setAttribute("target", "_blank");
}
else {
lk.setAttribute("rel", "dofollow");
}
}
};
</script>

HTML:

<a href="http://www.exeideas.com">EXEIdeas</a> |
<a href="http://www.born4banned.com">Born4Banned</a> |
<a href="http://www.netzspot.blogspot.com">Netzspot.Blogspot</a> |
<a href="http://www.exeideas.com/p/contact-us.html">EXEIdeas Contact</a> |
<a href="http://www.exeideas.net">EXEIdeas International</a>

Customization:

1.) Edit Your HTML As Per Your Requirements. Rest JavaScript Is Ok For General Us. If You Are Pro, Then You Can Do Any Thing.

Last Words:

That’s all we have. If you have any problem with this code in your blogger template then feel free to contact us with full explanation of your problem. We will reply you as time allow to us. Don’t forget to share this with your friends so they can also take benefit from it and leave your precious feedback in our comment form below. Happy blogging, See you in next article…

You Like It, Please Share This Recipe With Your Friends Using...

4 Responses to “Make All External Link NoFollow And Internal DoFollow”

  1. Thanks giving these tips. I am recently joined a company and there I am working as a website promoter. Your given info is very useful for me. I have to bookmark this page. I will share this with my friends. I am now doing my best for an essay writing service promotion. Ones again thanks for sharing.

  2. Thanks giving these tips. I am recently joined a company and there I am working as a website promoter. Your given info is very useful for me. I have to bookmark this page. I will share this with friends. I am now doing my best for a best essay writing service promotion. Ones again thanks for sharing.

Leave a Reply

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