View Single Post
  #1  
Old 09-14-2009, 08:32 PM
HoboChilli HoboChilli is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2009
Posts: 55
Default removing nofollow from functions.php

After reading the recent change that Google and other search engines changed the ability of nofollow to "PR shape" your site, I like to disable nofollow. Anyone know how I can do it? I broke my site when I tried editing functions.php by adding "/*", "*/", " in front of <a and after href="'; surrounding the nofollows

Code:
   if (strlen($_GET['p']) > 0) {
      echo "

";
      echo $content;
      echo "<a rel='nofollow' href='";
      the_permalink();
      echo "'>".__('Read More', 'studiopress')." &rarr;</a>";
      echo "</p>";
   }
   else if ((strlen($content)>$max_char) && ($espacio = strpos($content, " ", $max_char ))) {
        $content = substr($content, 0, $espacio);
        $content = $content;
        echo "

";
        echo $content;
        echo "...";
        echo "<a rel='nofollow' href='";
        the_permalink();
        echo "'>".$more_link_text."</a>";
        echo "</p>";
   }
   else {
      echo "

";
      echo $content;
      echo "<a rel='nofollow' href='";
      the_permalink();
      echo "'>".__('Read More', 'studiopress')." &rarr;</a>";
      echo "</p>";
   }