Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: No follow tag ?

Hybrid View

  1. #1

    No follow tag ?

    Is my code right ???
    PHP Code:
    <div class="storyTitle"><h3><a href="http://www.domain.com" target="_blank"rel="bookmark"rel="nofollow" 

  2. #2
    Yes that is right.

    target="_blank" rel="bookmark" rel="nofollow"

    rel simply just states the relation from your site to the linked site.

    Some other ones are


    • alternate
      stylesheet
      start
      next
      prev
      contents
      glossary
      copyright
      chapter
      section
      subsection
      appendix
      help
      bookmark
      nofollow
      licence
      friend

  3. #3
    Quote Originally Posted by 5starpix View Post
    Yes that is right.

    target="_blank" rel="bookmark" rel="nofollow"

    rel simply just states the relation from your site to the linked site.

    Some other ones are


    • alternate
      stylesheet
      start
      next
      prev
      contents
      glossary
      copyright
      chapter
      section
      subsection
      appendix
      help
      bookmark
      nofollow
      licence
      friend
    i though can shorten to something like rel"_blank" rel="bookmark,nofollow"
    hehheh
    thanks

  4. #4
    Oh, I totally forgot, you can do that.

    rel="bookmark nofollow"

  5. #5
    Oh, I totally forgot, you can do that.

    rel="bookmark nofollow"
    Yes, you can shorten it...

  6. #6
    when i try to use the target blank and ref no follow in php but it turn out some error ...

    the code i use:
    PHP Code:
     <?php if ($pro_link == "") { ?>&nbsp;<?php } else { echo "<br /><br /><a href=".$pro_link." target="_blank" >rel="nofollow" <strong>Contact Buyer</strong></a>"; } ?>
    error msg :
    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in \domains/domain.com/public_html/wp-content/themes/domain/inner_content.php on line 48
    anyone can help ?

  7. #7
    You need to escape the quotes,

    i.e. :

    Code:
    target=\"_blank\" rel=\"nofollow\"
    also you've got the > before the rel when it should be after.

  8. #8
    Quote Originally Posted by dtkguy View Post
    You need to escape the quotes,

    i.e. :

    Code:
    target=\"_blank\" rel=\"nofollow\"
    also you've got the > before the rel when it should be after.
    thanks it work

  9. #9
    Join Date
    Apr 2010
    Location
    india
    Posts
    338
    Quote Originally Posted by SonnyCooL View Post
    when i try to use the target blank and ref no follow in php but it turn out some error ...

    the code i use:
    PHP Code:
     <?php if ($pro_link == "") { ?>&nbsp;<?php } else { echo "<br /><br /><a href=".$pro_link." target="_blank" >rel="nofollow" <strong>Contact Buyer</strong></a>"; } ?>
    error msg :


    anyone can help ?

    If you still wish a simple alternative I prefer using single qoute inside php echo

    or you can remove the html completely out of the section
    Your code
    PHP Code:
    <?php 
    if ($pro_link == ""

    ?>&nbsp;<?php 

    else 
    {  
    echo 
    "<br /><br /><a href=".$pro_link." target="_blank"  >rel="nofollow" <strong>Contact  Buyer</strong></a>"

    ?>
    my code


    PHP Code:
    <?php 
    if ($pro_link == ""

    ?>&nbsp;<?php 

    else 
    {  
    ?>
    <br /><br /><a href="<?php echo $pro_link?>" target="_blank"  >rel="nofollow" <strong>Contact  Buyer</strong></a>
    <?php

    ?>
    Hope this helps you or someone else

  10. #10
    Hi,

    I understand nofollow and blank. What do the others do?

    Sami
    Current Celebrity Gossip Movies & More TV Site
    Find out how I'm able to get up to 420 backlinks for month, by spending 30 seconds per day...all for FREE! - Click Here

Page 1 of 2 12 LastLast

Similar Threads

  1. Follow/Follow Twitter Exchanges
    By KMRock in forum Follower Swap
    Replies: 2
    Last Post: 18 September, 2010, 22:29 PM
  2. Follow/follow Twitter Exchange
    By imported_KMRock in forum Follower Swap
    Replies: 0
    Last Post: 27 August, 2010, 00:30 AM
  3. Follow Me I Follow You
    By Macster in forum Follower Swap
    Replies: 1
    Last Post: 8 August, 2010, 23:01 PM
  4. Twitter follow for Twitter follow or 25 points
    By el canadiano in forum Post Exchange
    Replies: 0
    Last Post: 23 April, 2010, 00:10 AM
  5. Do Follow or No Follow?
    By Farrhad A in forum Blogging
    Replies: 2
    Last Post: 23 June, 2009, 20:08 PM

Tags for this Thread

Bookmarks

Posting Permissions

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