You are here:   Home
Register   |  Login
Save 20% to rip DVD to the video format you want!

Captured Technology - Blog

Minimize

Overwriting the NoFollow Tag with DoFollow

Feb 13

Written by:
2/13/2009 2:54 PM  RssIcon

Overwriting the NoFollow Tag with DoFollow

DotNetNuke is the platform that 6 blogs are developed with that I am the administrator for. But the more I use Wordpress, the more I think I should convert them because of the great SEO and free plugin availability. With Wordpress there's a simple plugin that will change the default NoFollow rel tag on comments to DoFollow. This provides your readers the ability to gain links with Google and other search engines when they comment.

DNN recently upgraded their blog module and the new module is nice, but there's no way to change the NoFollow tags unless you change the source code and compile your own version. That is until I came upon this Javascript while searching Google that does exactly what I wanted to do. By running this script at the end of a page, it will find the NoFollow tags and convert them to DoFollow tags. That simple and my previously NoFollow blogs are now "U Comment, I Follow" blogs. I will be sticking with DNN for the time being, hoping newer versions will incorporate more Wordpress features.

if (document.getElementsByTagName) {
var aElements = document.getElementsByTagName("a");
for (var i=0; i<aElements.length; i++) {
var relvalue = aElements[i].rel.toUpperCase();
if (relvalue.match("NOFOLLOW") != "null") {
aElements[i].rel = "dofollow";
}
}
}

Tags:
Categories:

27 comment(s) so far...


Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

I really like the dofollow blogs for what they offer their readers. Do you think there's an issue with search engines reading the nofollow tags prior to the script changing them to dofollow?

By 2009 Taxes on   2/13/2009 10:31 PM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

You have to hope DNN improves their blog modules so adding code to the site is not needed. But it looks like a great script.

By 2008 Taxes on   2/13/2009 10:33 PM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

It's really great, i thought there is no way to make nofollow tags dofollow

By Software Outsourcing on   2/18/2009 6:24 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

The process is clear, thanks!

By Iron Works in New Jersey on   2/19/2009 8:13 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

very interesting..........have anybody tried this way????

By webhost on   2/20/2009 1:00 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

yes, i tried, but failed, maybe i did something wrong

By offshore dedicated team on   2/20/2009 6:45 AM
Gravatar

very good tutorial

I thinks this is one of the easier tutorial ever made. The step are clear and i will give it a try now.

By Inventory management software on   2/20/2009 10:00 AM
Gravatar

thanks for the info ;)

thanks for the info ;)

By Ecouter on   2/20/2009 6:28 PM
Gravatar

A Must Read..

nicely done..a good source for those who want to convert the noFollow to doFollow.

Ill bookmark this one.

By Web Development Company on   2/22/2009 9:07 PM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

it is a good thing ,but how to resist spam??

By fireoffice on   3/4/2009 1:22 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

Amazingly the Security Code entry seems to be keeping the really bad spam out of the comments so far. Hopefully that will be enough.

By Steve on   3/4/2009 10:09 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

nice share. I agree to give a link juice for a related comment. I was thinking of this for a long time. how could a free blog can have a dofollow comment. thanks for sharing

By computer hardware on   3/6/2009 1:47 PM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

Always nice to be able to let the link juice flow...

By fashion news on   3/13/2009 11:28 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

Good blog comments do deserve juice. I think if a capture image is used it's fine to do follow.

By Virtual Reception on   3/13/2009 11:32 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

Very nice simple solution.
Nice blog as well, I've seen some very interesting ideas in the posts I've checked out :)

By equity release calculator on   4/7/2009 4:35 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

I guess it's always a toss up between deterring spammers and rewarding people for leaving quality comments. I guess it just means careful moderation.

By team building on   4/8/2009 3:40 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

Nice solution, makes adding DOfollow a lot easier

By warhammer on   4/8/2009 3:44 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

I guess it's always a toss up between deterring spammers and rewarding people for leaving quality comments. I guess it just means careful moderation.

By team building on   4/8/2009 3:45 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

thanks for this. tried this worked like a charm. Ace!

By London Notary on   4/20/2009 8:00 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

Glad to have another dofollow blog to visit
Your blog is already doing so well so this would more of a thanks you to your readers i guess

By 99.9% Uptime Guarantee Hosting on   5/5/2009 5:12 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

An alternative would be just to search for nofollow and just remove it.

By illustration agency on   5/6/2009 11:15 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

That is exactly what the script does.

By Steve on   5/6/2009 11:19 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

Will this not leave you wide open to spam?

By record management on   5/11/2009 4:56 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

The security code entry along with manual comment management has been enough to keep spam in control.

By Steve on   5/11/2009 9:07 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

I am very glad that I have read your post. Hoping that this will not be the last post that I could be read written by you. I am waiting for your next post.

By club penguin cheats on   12/13/2009 5:42 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow

This is a really nice bit of script actually to make dofollow. Nice work, keep it up!

By PC Repair norwich on   10/25/2010 11:24 AM
Gravatar

Re: Overwriting the NoFollow Tag with DoFollow(Marrio bout)

Hey there,

This is really one of the best blog and I like it a lot.Its having excellent stuffs day by day and script to make dofollow helps me a lot.Keep it up.

By Samsung lcd on   11/3/2010 1:24 AM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 

FaceBook

Minimize

Mobile Version

Minimize
Add CapturedTech - Technology Mippin widget

Translate

Minimize

Sponsors

Minimize
Call Now: 877-672-3078

Recent Comments

Minimize
Re: Three Benefits to Using a Royalty-Free Image on Your Website or Blog
Don't pay for royalty free images. They are free after all! I offer links to 96 websites that have tens of thousands (maybe even hundreds of thousands) of absolutely free images, including ones for commercial use! All you need to do is subscribe to my blog at www.davesinternetmarketing.info/royalty-free-images-free-for-commercial-use/
Re: Buzzom Offers Featured User Options
This is when discovered this great new way to grow your follow list. You can pay between $10 and $100 for the number of times you want to app ar at the top of the list.
Re: Microsoft Test Bounties
I had spent a good deal of my time looking for someone to explain this subject clearly and I have really enjoyed reading your blog posts and I collected a lot of interesting things as well as I done a research on the subject and learn most peoples will agree with your blog.
Re: 10 Ways to Source Great Sales Leads
Hoovers.com, that have contact information for tens of millions of businesses. If necessary, you can work with these companies' research teams to order lists specifically tailored to your organization's sales needs.
Re: Microsoft Test Bounties
To find bugs and showing it to microsoft is quite admirable. Keep blogging more i will appreciate.

u comment, i follow