Results 1 to 6 of 6

Thread: Nofollow in PHP ?

  1. #1

    Nofollow in PHP ?

    I'm trying to add rel="nofollow" for my site but i have some problems.

    Here are some examples :

    $url = 'index.php?task=profile&id='.$_COOKIE['ava_userid'].'';
    $message_url = 'index.php?task=messages';
    echo '<strong><a href="'.$site_url.'/index.php?task=login">'.LOGIN.'</a> | <a href="'.$site_url.'/index.php?task=register">'.REGISTER.'</a></strong>';
    How to add rel="nofollow" for this php code and not receive any errors ?
    Last edited by Szise; 18 April, 2009 at 12:52 PM.

  2. #2
    You'll need to edit the user_area_horizontal.php file.. There should be <a href... tags in it, you need to add rel=nofollow

    |Nico Lawsons

  3. #3
    Yes... my mistake, i modified the first post.

  4. #4
    If I'm correct, should be like this:
    echo '<strong><a href="'.$site_url.'/index.php?task=login" rel="nofollow">'.LOGIN.'</a> | <a href="'.$site_url.'/index.php?task=register" rel="nofollow">'.REGISTER.'</a></strong>';
    Try it out, and if it doesn't work.. I guess someone else will help you
    |Nico Lawsons

  5. #5
    Yes this is the way, i made the things be more complicated in my posts, in my mind , Thanks for the answers.

  6. #6
    No problem, I'm always happy when I can help people

    |Nico Lawsons

Similar Threads

  1. What is a NoFollow Link?
    By tunescool in forum Promoting
    Replies: 37
    Last Post: 4 June, 2013, 08:01 AM
  2. eZineArticles Going NOFOLLOW
    By Will.Spencer in forum Article Marketing
    Replies: 35
    Last Post: 21 October, 2011, 22:54 PM
  3. NoFollow Links Really are NoFollow
    By Will.Spencer in forum Promoting
    Replies: 8
    Last Post: 15 January, 2010, 09:06 AM
  4. Nofollow.. WTF??
    By Snak3 in forum Search Engine News
    Replies: 2
    Last Post: 9 September, 2009, 16:08 PM
  5. How to nofollow tag cloud?
    By mixke in forum Wordpress
    Replies: 9
    Last Post: 10 August, 2009, 11:37 AM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts