Page 1 of 3 123 LastLast
Results 1 to 20 of 43
  1. #1
    jarvi is offline Private Member
    Join Date
    December 1969
    Posts
    3,319
    Thanks
    0
    Thanked 444 Times in 279 Posts

    Default Redirects of affiliate links

    I have a couple of WordPress plugins that I use for redirecting affiliate links. One uses a 301 redirect and one uses a 302 redirect. Is one better than the other for this purpose?
    James

  2. #2
    casinoplanet's Avatar
    casinoplanet is offline Private Member
    Join Date
    August 2009
    Location
    LowLands
    Posts
    371
    Thanks
    103
    Thanked 125 Times in 83 Posts

    Default

    I'm not familiar with WP, but I use a php redirect script, which works great.

    The link looks like this: www.mysite.com/click?s=casino. When someone clicks the link, it first leads to the php script, looks for the aff.code you have linked to "casino" in the php file and redirects to your aff.casino site.
    "Depend on the rabbit's foot if you like, but remember it didn't work for the rabbit." R.E. Shay

  3. #3
    FictionNet is offline Closed by Request
    Join Date
    December 1969
    Posts
    5,282
    Thanks
    1,437
    Thanked 1,258 Times in 659 Posts

    Default

    Yeah, I use a php redirect script too and it's VERY easy to use (even I have no problems). If you'd like help setting this up, let me know - it'll take two minutes.

  4. #4
    jarvi is offline Private Member
    Join Date
    December 1969
    Posts
    3,319
    Thanks
    0
    Thanked 444 Times in 279 Posts

    Default

    Thanks, however I might not have been clear. I've been using different versions of redirects for a while now and the WordPress plugins make it even easier than the few php solutions I have used on my non-WP sites.

    What I'm trying to find out is whether it's better to do it via a 301 or 302 redirect to keep the search engines happy whilst still achieving the masking of the affiliate links.
    James

  5. #5
    GaryTheScubaGuy's Avatar
    GaryTheScubaGuy is offline In Memorium, 1966-2018
    Join Date
    December 2008
    Location
    Malta
    Posts
    745
    Blog Entries
    22
    Thanks
    223
    Thanked 430 Times in 205 Posts

    Default

    3 pieces of Affiliate SEO advice

    1. Use Bit.ly to eliminate the aff= or other affiliate identifying links (both for google and savvy end-users) - you can also add your keywords into the url
    2. Add a nofollow to the link to avoid leaking page rank
    3. Don't use 302's as they are the preferred method for highjacking and left in place may draw a penalty. (Use a 301 or canonical rel tag)
    GaryTheScubaGuy

  6. #6
    jarvi is offline Private Member
    Join Date
    December 1969
    Posts
    3,319
    Thanks
    0
    Thanked 444 Times in 279 Posts

    Default

    Perfect. Exactly what I needed to know. Time to swap from the old plugin to the newer one... Thanks.
    James

  7. #7
    Frank Benjamin is offline Private Member
    Join Date
    April 2008
    Posts
    378
    Thanks
    9
    Thanked 46 Times in 35 Posts

    Default

    I use a html page that redirects the page that looks like this:

    <HTML>
    <HEAD>
    <title>Loading...</title>
    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=https://affiliatedsportsbook.com/">
    </HEAD>
    </HTML>

    Is this bad. It is nice because I have a link on my site that looks like mydomain.net/sportsbook-bonuses/sportsbookname.html.

  8. #8
    FictionNet is offline Closed by Request
    Join Date
    December 1969
    Posts
    5,282
    Thanks
    1,437
    Thanked 1,258 Times in 659 Posts

    Default

    That's what I used to use, Sports Investor. Yeah, it worked fine for me. I'd heard various horror stories about using META refresh to redirect links but nothing yucky ever happened to my sites and I'd still be using it now if I hadn't been shown the php method instead. I use the php redirects now as it involves just one file (the php file) rather than tens or hundreds of files (one file/html page for every outgoing link).

  9. #9
    Frank Benjamin is offline Private Member
    Join Date
    April 2008
    Posts
    378
    Thanks
    9
    Thanked 46 Times in 35 Posts

    Default

    So what is the php solution? Care to share. Feel free to PM me...I am not meaning to hijack Jarvi's thread.

  10. #10
    FictionNet is offline Closed by Request
    Join Date
    December 1969
    Posts
    5,282
    Thanks
    1,437
    Thanked 1,258 Times in 659 Posts

    Default

    Do you use MSN IM? If so, hit me up at [email protected] and I can explain it easily. If you don't use MSN, lemme know your e-mail addy and I'll send the file as an attachment with a brief outline of how to use it.

  11. #11
    lunaraurora's Avatar
    lunaraurora is offline Private Member
    Join Date
    March 2007
    Location
    Italy
    Posts
    215
    Thanks
    22
    Thanked 55 Times in 33 Posts

    Default

    I changed recenly all php redirect to meta refresh ..is seems that programs like xenu and spiders (like googlebot) detect fewer errors during the scanning process.. but I'm not 100% sure of what I'm saying
    What you think Gary?

  12. #12
    MichaelCorfman's Avatar
    MichaelCorfman is offline GPWA Executive Director
    Join Date
    June 2004
    Location
    Newton, MA
    Posts
    4,487
    Thanks
    1,058
    Thanked 6,006 Times in 1,916 Posts

    Default

    Quote Originally Posted by GaryTheScubaGuy View Post
    3 pieces of Affiliate SEO advice

    1. Use Bit.ly to eliminate the aff= or other affiliate identifying links (both for google and savvy end-users) - you can also add your keywords into the url
    2. Add a nofollow to the link to avoid leaking page rank
    3. Don't use 302's as they are the preferred method for highjacking and left in place may draw a penalty. (Use a 301 or canonical rel tag)
    I think Gary's advise is right-on here. We do something slightly different, but I think with the same objective on our sites:

    1. We don't have any affiliate links on our sites. Rather, we have links to an internal script of our own that tracks the external click and then redirects with an appropriate affiliate link (also makes it easy to change the external links and tracking codes without changing any pages on our site or change the URL if a site suddenly changes the domain it uses as has happened for a few sites lately).
    2. The links to the internal script all have nofollow specified.
    3. The internal script is located in a folder which has a robots.txt spider exclusion specified just to make extra sure google does not track where the links end up.
    GPWA Executive Director, Casino City CEO, Friend to the Village Idiot
    Resources for Affiliates: iGamingDirectory.com, iGamingAffiliatePrograms.com, GamingMeets.com

  13. The Following User Says Thank You to MichaelCorfman For This Useful Post:

    GaryTheScubaGuy (16 June 2011)

  14. #13
    xecutable's Avatar
    xecutable is offline Private Member
    Join Date
    March 2011
    Location
    Zurich, Switzerland
    Posts
    1,937
    Thanks
    571
    Thanked 1,190 Times in 689 Posts

    Default

    I used to use the php code:
    Code:
    <?php 
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: https://www.example.com"); 
    ?>
    Since I am using wordpress however, a small plugin called Simple Link Cloaker, does the job for me via writing in the .htaccess file. I use the cloaks for "pretty links" purposes rather than injects and security reasons.

    It's not perfect, but as for now it does the job.

    From what I've read, there's no significant difference between 301 and 302 in terms of how Google reads those. I was trying to find out if it affects somehow the serps and stuff, and all I found is "Don't worry about it". So there I am no worrying about it

  15. #14
    GaryTheScubaGuy's Avatar
    GaryTheScubaGuy is offline In Memorium, 1966-2018
    Join Date
    December 2008
    Location
    Malta
    Posts
    745
    Blog Entries
    22
    Thanks
    223
    Thanked 430 Times in 205 Posts

    Default

    302's redirecting to another onsite page is okay, although I can't see the purpose.

    Redirecting an affiliate link is a perfect example of one step in the process of essentially what amounts to potential 302 hijacking in Google's eyes. It always has been.

    Here is how they work;
    https://www.mattcutts.com/blog/seo-ad...302-redirects/

    It is still an existing problem;
    https://www.google.com/support/forum/...744a700a&hl=en
    GaryTheScubaGuy

  16. #15
    GaryTheScubaGuy's Avatar
    GaryTheScubaGuy is offline In Memorium, 1966-2018
    Join Date
    December 2008
    Location
    Malta
    Posts
    745
    Blog Entries
    22
    Thanks
    223
    Thanked 430 Times in 205 Posts

    Default

    Additional important issues with 301/302's on an Affiliate portal that are a bit unrelated;

    301 will pass page rank
    302 will not pass PR

    301/302 redirects for Affiliate Links;
    If you are using 301 redirects, make sure they preserve your tracking parameters (utm_source, etc., at the end of your destination URL). More often than not, parameters that may specify display, email, or paid search campaigns may be stripped. The URL of the referring site becomes a referrer and your campaign information is lost.

    302 redirects give only temporary link credit to your long links. This tells search engines that the more powerful and important link is the shortened one, not yours! Here are some URL shorteners that use this 302 redirect: Hex.io, twurl.in, and eweri.

    TinyURL and a few other use 301's. Check it with an HTTP viewer;
    https://www.rexswain.com/httpview.html
    GaryTheScubaGuy

  17. #16
    GaryTheScubaGuy's Avatar
    GaryTheScubaGuy is offline In Memorium, 1966-2018
    Join Date
    December 2008
    Location
    Malta
    Posts
    745
    Blog Entries
    22
    Thanks
    223
    Thanked 430 Times in 205 Posts

    Default

    Quote Originally Posted by lunaraurora View Post
    What you think Gary?
    Hi Laura,

    The difference between a PhP Redirect and a Meta Refresh is that a redirect can still log referrer information. What this means is that your Affiliate Managers can see exactly where your traffic is coming from. A redirect simply *redirects* thru one of your domains and can still display information that will let people know who are looking, where you been sending your links.

    A smart way to hide your referrer information is to use a the Meta Refresh. Here’s the code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns=" https://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Refresh" content="0;URL=AFFILIATE URL HERE">
    <title>SITE TITLE HERE</title>
    </head>
    <body>
    </body>
    </html>

    Load this into a text file and name it whatever you want with a .html extension.
    GaryTheScubaGuy

  18. #17
    johnbenjamin's Avatar
    johnbenjamin is offline Public Member
    Join Date
    February 2007
    Location
    Riga, Latvia
    Posts
    57
    Blog Entries
    2
    Thanks
    4
    Thanked 11 Times in 10 Posts

    Default

    Quote Originally Posted by jarvi View Post
    I have a couple of WordPress plugins that I use for redirecting affiliate links. One uses a 301 redirect and one uses a 302 redirect. Is one better than the other for this purpose?
    Since you mentioned WP, check out GoCodes. It makes use of 301 redirects and you can set it to a link within your domain, ex: mydomain.com/track/name

    Where track is the identifier and name is anything that you give. Put in your aff link there and job done. Another great advantage being that you can just use one interface to change your aff. links.
    Regards,

    John A. Benjamin

    Forex Affiliate marketing? Join our forex affiliate forums

  19. #18
    EugeneK is offline Public Member
    Join Date
    May 2009
    Posts
    183
    Thanks
    43
    Thanked 47 Times in 18 Posts

    Default

    it is possible make outgoing links with /track/link-1/
    add Disalllow /track/ to robots.txt and in track folder put .htacess file where you should write all necessary redirects

    fast, cheap and fretfully

  20. #19
    GaryTheScubaGuy's Avatar
    GaryTheScubaGuy is offline In Memorium, 1966-2018
    Join Date
    December 2008
    Location
    Malta
    Posts
    745
    Blog Entries
    22
    Thanks
    223
    Thanked 430 Times in 205 Posts

    Default

    If you set up your robots.txt file up correctly and do not link to the unwanted indexed pages without adding nofollows, this is all you should need to do.
    GaryTheScubaGuy

  21. #20
    mobileslot4u is offline Public Member
    Join Date
    June 2011
    Location
    UK
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I wouldn't worry too much about 'leaking PageRank' and using nofollows.

    By the way, if you use Google Analytics, you can use Event Tracking to see how many outbound clicks you're getting.

Page 1 of 3 123 LastLast

Posting Permissions

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