Support » Themes and Templates » Link Parameters

Viewing 11 replies - 1 through 11 (of 11 total)
  • Mark (podz)


    Support Maven

    The very last function is the one above.

    Line 244 in that file is this:
    $output.= "<a href='$the_link'";
    There are only two href links and the other is a js link.

    I would try
    $output.= "<a rel="nofollow" href='$the_link'";
    but that is untested and I’m no coder.

    If you want to rel=”nofollow” all links belonging to a class in your blog, you can edit the main template (index.php) and add a stylesheet like nofollow.css, which has become popular among greedy ‘practitioners’.

    i just want certain links to be nofollow. Like affiliate links/random crap that I don’t want spiders to follow through on. How would I go about doing the css way?

    Spiders still follow links with the nofollow tag. The name is a misnomer, all the nofollow tag does is tells search engines not to give them PageRank or similar for that link.

    Mark (podz)


    Support Maven

    Roy – do you have links to examples ? It’s a new one on me.

    yeah, I know they still follow them just easier to say it how I did 😉

    bump for more info 🙂

    hey podz, is there a way to selectively do it the way you said? I just want certain links to be nofollow. The way you said will make all of them nofollow

    Do all of the links you want to make “no-follow” have ANY parameter in common? If the answer to that question is “no”, then you’ll probably have to do it manually.

    If the answer is “yes”, then you’ll need a php coder to write an if statement probably.

    yes. They’re under a certain category. so I can write an if in wp-includes/links.php that says if category = x then do rel=”nofollow” correct?

    bump for more info 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Link Parameters’ is closed to new replies.