Question about nofollow on Wordpress

Discussion in 'WordPress' started by ringwraith, May 18, 2008.

  1. #1
    Hello, i have the following problem.

    ON one of my blogs, i have edited one of the core files to make the function the_content("Read the rest of this entry »") put a nofollow on the link with the anchor "Read the rest of this entry »" . Check it out here.

    The problem might be a little stupid, because now i can't really find out which file i edited. I want to remove that nofollow. Can anyone help me?

    PS: I've checked every file in the wp-includes directory, i even overwrote all Wordpress files with some new default ones, but that nofollow keeps staying there and i can't seem to find out where does it come.

    Looking for some help here guys, thank you
     
    ringwraith, May 18, 2008 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    It is a theme file. Index.php or home.php.
     
    mizaks, May 18, 2008 IP
  3. System0

    System0 Well-Known Member

    Messages:
    168
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    128
    #3
    I assume by now you realised that you have made a big mistake. By placing a nofollow link there you are telling google you dont want pass juice to other pages on your own blog.

    There are two ways you could have done this

    1. The default code for the reading more link is autogenerated if you use '<?php the_content('Read the rest of this entry &raquo;'); ?>'. If thats the code you have on index.php then it's likely you added the nofollow by changing one of the core wordpress files. If thats the case then you can fix it by installing the latest version of wordpress (or reuploading the files) you'll fix it.
    2. Another method of doing it is by using something like
    <a href="<?php the_permalink() ?>" rel="nofollow">Click here to read the full article</a>
    Code (markup):
    If thats the case, all you need to do is remove the rel from the link (this code will be in index.php)

    :)
     
    System0, May 18, 2008 IP
  4. ringwraith

    ringwraith Peon

    Messages:
    436
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    @system0: it's the first case of course.

    I am not so sure now I've done a mistake :) I was only experimenting with link juice flow control inside the site (to see if this is a myth or not :) ), and like you can see in that link, i have a follow link to each post on its title, so the Bot should be able to get to the post from that link.

    Anyway, like i said in the post, I've reuploaded the latest version of WP but the nofollow is still there. Usually, it should have been from the post-template.php file in wp-includes , but everything seems to be fine there. Actually, i overchecked all the files in wp-includes and there's not trace of nofollow...

    And it's not from the theme, i've tripled checked that. In fact, it puts a nofollow no mather the theme i use, so that means the nofollow is from somewhere in the core...

    So, that's why i am so confused...
     
    ringwraith, May 18, 2008 IP
  5. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #5
    If you reuploaded all the core files then obviously it isn't that either. If it isn't your theme, then my guess would be you have a plugin activated that is causing the behavior...
     
    mizaks, May 18, 2008 IP
  6. richrf

    richrf Active Member

    Messages:
    1,101
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    88
    #6
    There is a plugin that I use that inserts nofollow in all links. Do you have any such plugin installed on your system?

    Rich
     
    richrf, May 18, 2008 IP