Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

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.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom