Overwriting the NoFollow Tag with DoFollow
Feb
13
Written by:
2/13/2009 2:54 PM
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";
}
}
}
27 comment(s) so far...
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
|
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
|
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
|
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
|
Re: Overwriting the NoFollow Tag with DoFollow
very interesting..........have anybody tried this way????
By webhost on
2/20/2009 1:00 AM
|
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
|
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
|
thanks for the info ;)
thanks for the info ;)
By Ecouter on
2/20/2009 6:28 PM
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
Re: Overwriting the NoFollow Tag with DoFollow
Nice solution, makes adding DOfollow a lot easier
By warhammer on
4/8/2009 3:44 AM
|
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
|
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
|
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
|
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
|
Re: Overwriting the NoFollow Tag with DoFollow
That is exactly what the script does.
By Steve on
5/6/2009 11:19 AM
|
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
|
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
|
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
|
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
|
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
|