• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

Correct redirecting?

Which redirect method is best?

  • PHP

    Votes: 3 37.5%
  • JavaScript

    Votes: 0 0.0%
  • Htaccess

    Votes: 4 50.0%
  • Meta

    Votes: 0 0.0%
  • Other (Please post what)

    Votes: 1 12.5%

  • Total voters
    8
Status
Not open for further replies.
Joined
Feb 6, 2010
Posts
1,556
Reaction score
28
Which redirection method is best for cloaking affiliate links? :) Which is google least likely to pick up on?

Should you go through 2 redirects so any penalties are applied to the second site and / or google wont realise its an affiliate?
 
If you are trying to hide, then remember that what Google doesn't see today, it will probably see tomorrow.

If I was trying to hide, I'd go PHP and give a different response to googlebot, however, you don't know if Google will also check with a different name, so you'll have a lot of work to do to hide completely :)
 
Fair enough, by hiding I don't mean being very deceptive, I just mean not being in your face 'THIS IS AN AFFILIATE LINK' :)

@ Htaccess voters, what kind of redirect?
 
Use a little php script,and send google to another page.

PHP:
if (preg_match("#(google)#si", $_SERVER['HTTP_USER_AGENT'])) {

    header("Location: http://www.somewhereelse.co.uk/here.php");
    exit;
}

Or something like that!, Might need to fiddle a bit with the code as "google" is a bit broad.
 
I've been using php 301 redirects and haven't noticed any negative effects.

PHP:
<?
Header( "HTTP/1.1 301 Moved Permanently" ); 
Header( "Location: http://www.affiliatelinkhere.com" ); 
?>
 
Eclipse link cloaker for WP it uses 301 by default if i remember correctly
 
Are there any cloaking plugins which automatically hide already existing links on a website or do you have to run every link through the cloaker before using it?

Yes, i am a lazy affiliate :)
 
Status
Not open for further replies.
Top Bottom