Earthtoblog.com

Keeping your blog grounded

Adjusting your link properties: Nofollow vs Dofollow

6 comments

So I’ve spent the last few days figuring out why the entirety of the links on my blog were Nofollow. This included my pages, posts and every link on my blog.

I was not sure why this was happening, but I discovered that it was caused by php wp_head which is found in header.php right before the head tag. Realizing that removing this code was not a very good idea (it’s used by numerous plugins to achieve various tasks, I went and found the code which it used, I found it in /wp-includes/default-filters.php.

Next thing I did was remove the line of code which was generated when wp_head attribute. This looked like:  add_action(’wp_head’, ‘noindex’, 1);

I remove that line, and now every one of my links becomes dofollow… argh. That’s not necessarily what I wanted, but hey, not a bad start considering everything was nofollow just a minute ago.

Next step was re-enabling some of the Nofollow, especially for my Blogroll, that could damage your quality score. First I decided to try find a way to get that working, that was easy. I found this post, which was absolutely helpful, it allowed me to add nofollow to my tags, and pages. If you use these lines of code correctly, you can define the nofollow attribute for any text which is a link.

Finally I downloaded this plugin which enabled nofollow on my Blogroll. I have decided to keep my blog comments dofollow to encourage user discussion.

Sorry for the somewhat random post, but this may affect users who have recently created a blog and cannot figure out why everything is nofollow (I’m honestly not sure if I’m the only one with this issue). Regardless, later this week I’m going to release a Free E-Book.

0bdfd4449d186fec3afb90786Pfad651Fr

November 2nd, 2009 at 3:34 pm

Posted in Uncategorized

Tagged with , , ,

6 Responses to 'Adjusting your link properties: Nofollow vs Dofollow'

Subscribe to comments with RSS or TrackBack to 'Adjusting your link properties: Nofollow vs Dofollow'.

  1. well that will certainly increase the comment on your blog but the only problem is with spammers.I am also planning similar thing for my blog

    zeesu

    3 Nov 09 at 5:31 am

  2. Zeesu, you just have to make sure to moderate the comments coming to your blog.

    Justin

    3 Nov 09 at 8:19 am

  3. A DoFollow comment plugin combined with Akisment should solve most problems.

  4. I think I am going to go the DoFollow Comments Plugin route; me and messing with coding sometimes don’t mix. LOL:)

    Ms. Freeman

    6 Nov 09 at 10:43 am

  5. Great move on going Do Follow on your comments, it increases discussion on your blog tremendously over time.

    Extreme John

    7 Nov 09 at 3:18 pm

  6. I only want to tell you thanks for all the great info found on your blog, even helped me with my work recently :) keep it up!

    Spyware Blockers

    17 Nov 09 at 6:00 pm


Leave a Reply