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

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.


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.


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


<a href="">EXEIdeas</a> |
<a href="">Born4Banned</a> |
<a href="">Netzspot.Blogspot</a> |
<a href="">EXEIdeas Contact</a> |
<a href="">EXEIdeas International</a>


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...

Be the first to write a comment.

Leave a Reply

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