WordPress Support for “nofollow”

Well I am sure you have heard about the “nofollow” initiative making its rounds, courtesy of google.

It has come to my attention that this plugin borks on most installs of WordPress.  Apparently most of you out there are using <?php comment_author_link(); ?> to get the link to a comment authors site.  This is BAD since you are not able to do things like set the title property, so I don’t use that setup, I use the following:<a href="<?php comment_author_url(); ?>" title="Visit <?php comment_author() ?>">Visit <?php comment_author() ?></a>Until I have this sorted out you should use the above code.

Most of the biggies in the weblogging world have signed on thier support including our own glorious leader Matt Mullenweg (no official announcement as yet).  Thinking that this is the bees knees, I have whipped up a plugin to add this to your sites.

Using wp-google-redirect.php from Mark Ghosh as a basis I have hacked together Google Redirector and Spam Annoyer.  Just download and install, that is all there is to it.  Enjoy.

  1. personal avatar Shawn Grimes
    Stroll on over and visit Shawn Grimes
    March 1, 2007

    Chirs,

    I have deactivated the plug-in. What is the problem that is occuring?

  2. personal avatar Shawn Grimes
    Stroll on over and visit Shawn Grimes
    March 1, 2007

    Hey Chris,

    Are you back from holiday yet? Thanks for this little plug-in. I’ve got it going right now.

    Do you use an IM of some form? I would like to have a discussion with you for something I am working on. And also about some of the plug-ins I have asked you about recently.

  3. personal avatar Chris J. Davis
    Stroll on over and visit Chris J. Davis
    March 1, 2007

    Hey Shawn,

    Yeah I have IM, but I am mostly on IRC. I will email you with my IM.

    Oh and you need to deactivate the plugin, there is a problem with some setups.

  4. personal avatar Shawn Grimes
    Stroll on over and visit Shawn Grimes
    March 1, 2007

    Oh, I see your update now. Yes that is true, it would not redirect using the current setup I have (the bad one). But I assume it works fine with the setup you use Chris?

  5. personal avatar Chris J. Davis
    Stroll on over and visit Chris J. Davis
    March 1, 2007

    Check the update at the top of this post for what is up. And yes using the code that I provided in the update everything is happy and shiny.

  6. personal avatar clint
    Stroll on over and visit clint
    March 1, 2007

    wOOT! chris rocks! no pun intended….

  7. personal avatar Jennifer
    Stroll on over and visit Jennifer
    March 1, 2007

    I don’t know if I really like this. I enjoy reading weblogs. When I visit sites, I might find a comment rather interresting and want to follow a link to the commenters blog to read theirs.

  8. personal avatar Jennifer
    Stroll on over and visit Jennifer
    March 1, 2007

    OH!! You can, it just doesn’t add to googles page rank.
    *feels dumb*

  9. personal avatar doc
    Stroll on over and visit doc
    March 1, 2007

    Personally, I don’t like ‘no follow’. It really does nothing to stop comment spam. It just serves to help prop up what has become a failed system of ranking pages at the expense of legitimate links in your comments. Rather than have the entire blog world bend to cover their inadequacies, perhaps it is time for google and the rest to fix their systems.

    If you are going to use it, it would seem the best bet would be some way of distinguishing your legitimate comments from the spam comments. Then the no follow tag would be applied to links in the spam comments. However, if you are going to all that trouble, wouldn’t you just delete the spam comments and be done with it?

  10. personal avatar Chris J. Davis
    Stroll on over and visit Chris J. Davis
    March 1, 2007

    Hey doc,

    However, if you are going to all that trouble, wouldn’t you just delete the spam comments and be done with it?

    Probably. That is what I do at least. You will notice that I am not actually using this plugin on my site, it wouldn’t do me any good at all. I am merely providing it as a courtesy for those who might want to use it. As for the reasons behind the tag, or its effectiveness we can’t do anything more than guess until it gets out in the wild and is used a bit.

Pingbacks & Trackbacks

  1. Weblog Tools Collection » WordPress Support for “nofollow” » [...] t for “nofollow” Categories - WordPress Hack LinkyLoo — Mark WordPress Support for “nofollow”: Add Google rel="nofollow” in legacy WordPress [...]

Leave a Reply