How to add "nofollow"

6 replies
Hi everybody,

can you give me a tip where to add the following attributes "no follow" and "open link in a new tab".
I did it with -normal- a href links before, but not sure how to do here.:confused:

<form method="GET" action="amazon.com/gp/aws/cart/add.html"> <input type="hidden" name="AssociateTag" value="storeid-20"/> <input type="hidden" name="SubscriptionId" value="0EMJ6TWAXGX6JF1NP202"/> <input type="hidden" name="ASIN.1" value="B00003CWT6"/><br/> <input type="hidden" name="Quantity.1" value="1"/><br/> <input type="image" name="add" value="Buy from Amazon.com" border="0" alt="Buy from Amazon.com" src="images.amazon.com/images/G/01/associates/add-to-cart.gif"> </form>

(I had to remove http from the Amazon links in order to get it posted)

Thanks a lot
#<form #add #nofollow #open in new tab
  • Profile picture of the author Actonbarr
    Can I use nofollow links in dofollow blog?

    My blog use "dofollow" meta tags. But to avoid google penalty, my friend suggest me to put relation "nofollow" to my affiliate programs links.

    Can I use this way? Does Google still follow my affiliate links?
    {{ DiscussionBoard.errors[6370080].message }}
    • Profile picture of the author JohnnyS
      Originally Posted by Actonbarr View Post

      Can I use nofollow links in dofollow blog?

      My blog use "dofollow" meta tags. But to avoid google penalty, my friend suggest me to put relation "nofollow" to my affiliate programs links.

      Can I use this way? Does Google still follow my affiliate links?
      yes you can, just add the nofollow attribute..
      {{ DiscussionBoard.errors[6370752].message }}
  • Profile picture of the author JohnnyS
    Originally Posted by guideebook View Post

    Hi everybody,

    can you give me a tip where to add the following attributes "no follow" and "open link in a new tab".
    I did it with -normal- a href links before, but not sure how to do here.:confused:

    <form method="GET" action="amazon.com/gp/aws/cart/add.html"> <input type="hidden" name="AssociateTag" value="storeid-20"/> <input type="hidden" name="SubscriptionId" value="0EMJ6TWAXGX6JF1NP202"/> <input type="hidden" name="ASIN.1" value="B00003CWT6"/><br/> <input type="hidden" name="Quantity.1" value="1"/><br/> <input type="image" name="add" value="Buy from Amazon.com" border="0" alt="Buy from Amazon.com" src="images.amazon.com/images/G/01/associates/add-to-cart.gif"> </form>

    (I had to remove http from the Amazon links in order to get it posted)

    Thanks a lot
    the nofollow attribute doesn't apply to form tags.. it only applies to links which is anchor tags (<a>)
    {{ DiscussionBoard.errors[6370744].message }}
  • Profile picture of the author carrot
    You can add
    target="_blank"
    to your form tag to open in a new window. You cant add a nofollow though.

    You could add a nofollow link to a php page that accepts get variable and then posts them, if you really wanted.
    {{ DiscussionBoard.errors[6372666].message }}
  • Profile picture of the author Vu Luu
    Ok, you write html for tag a

    <a href="serverthemes.net/" title="Best Themes 2014" rel="nofollow" target="_blank">Best Themes 2014</a>

    - Rel is nofollow to notify with Google you are not care this link
    - target is _blank to open new tab
    Should have attribute title in tag a.
    {{ DiscussionBoard.errors[6382561].message }}
  • Profile picture of the author annife polak
    No follow - rel=”nofollow” into "a tag".

    New window - target="_blank", but thats not valid in HTML strict. If you are using that I would recommend you to open up, by using javascript (jQuery). Just google: "Open New Browser Window with jQuery"

    A.
    {{ DiscussionBoard.errors[6390166].message }}

Trending Topics