Go Back   Internet Marketing Forums > Marketing > General Marketing
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-23-2008, 09:31 AM
vmfan1 vmfan1 is offline
Member
 
Join Date: Feb 2008
Location: Lake Elsinore Ca, USA
Posts: 51
Default Masking your affiliate link with a php redirect

Hey guys if you would like to hide your affiliate
link when you move your mouse over the banner on your site or a link on your site do this:1st go to your hosting acount and the directory that your site is located and create a
new folder "recommends" and inside the recommends folder create another folder with your product name example:
http://www.mysite.com/recommends/product
2nd open a new notepad file and insert this script
php script:
-------------------------------------
<?php header("location:http://www.xxxxxxx.com/xxxxxxx");?>
<p>if you're not redirected to the proper page in 5 seconds.
<a href="http://www.xxxxxxx.com/xxxxxxxx"><strong>click here
</strong></a>
</p>
----------------------------------------------
put you affiliate links in both areas of the script or replace the xxxx's with your affiliate link.Then save the notepad file save as index.php
3rd upload the saved note pad file index.php
to your http://www.mysite.com/recommends/product
with your ftp uploader so the notepad file
is saved in -"/product"- folder
4th - now you type in at browser:
http://www.mysite.com/recommends/product/index.php
and you will be at your affiliate site just like before now you can put this link into your sidebar on your
blog or wherever your affiliate link was in the past.hope this helps:
I know everyone probably knows this already ,
but there are people that can hyjack your affiliate commissions especially through a
hop link that doesn't have a tinyurl mask or
a php redirect.
I used to have tinyurl on my affiliate links before but I went to look at one of my sites and tinyurl's server was down for a couple of days striaght so I decided to do the php thing instead.I just didn't want to rely on wether or not tinyurl was going to work or not but with a php redirect it works everytime.I believe
the hyjacking thing only happens with clickbank hoplinks but maybe someone else in
the fourm here has more info on that!
I'm not trying to scare anyone ,sorry for that
hope this helps!
mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-23-2008, 11:30 PM
Boris_yo Boris_yo is offline
Senior Member
 
Join Date: Jan 2008
Posts: 225
Default

I know how to hide affiliate link in browser's address bar at the bottom so it shows something else. Also when you move mouse over affiliate link it usually shows there, but i can hide it or make it seem like original non-affiliate link. And when you click your mouse on link you can see affiliate code is shown in the bottom address bar, again it can be modified.

All this can be done with help of javascript.
If somebody is interested i can post how to do it.
__________________
Proud Member Of AdSense Excellence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-26-2008, 12:28 PM
Marc Marc is offline
Administrator
Site Admin
 
Join Date: Jan 2007
Posts: 388
Default

Normally we just use a 301 re-direct from a main file to the affiliate link.

Along the way the link is never seen since we just link to something called /dogtraining1/index.php

The index.php contains the 301 redirect.

This way the only link showing is the index.php but the aff-id is what is redirected too.

Regards
Marc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-26-2008, 11:11 PM
Kangaroo Jack Kangaroo Jack is offline
Senior Member
 
Join Date: Jun 2007
Location: MA
Posts: 156
Default

Marc, do you mean a web page rather than a link itself?


Here's what I do. For example I'm an affiliate with PLRPro.

1. Create a new file called plrpro.php.

2. Add the following to the plrpro.php file.

Code:
<?php
$url='http://www.your-affiliate-link-goes-here';
header("Location:$url");
exit();
?>
3. Upload the plrpro.php file to your directory.

4. Change your banner affiliate link to point to the plrpro.php file

5. That's it.

Unfortunately I can't take credit for this piece of code and I don't recall where I got it from otherwise I would give credit to them.
__________________
Cheers

David
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-28-2008, 03:31 PM
Boris_yo Boris_yo is offline
Senior Member
 
Join Date: Jan 2008
Posts: 225
Post Redirect Can be Detected

Kangaroo Jack,

Marc's method will be better as he can point visitor to PLRPRO directory without exposing redirect file which in your way would be plrpro.php.

index.php loads up automatically when visitor visits directory and in Marc's case it would instantly redirect visitor to final landing page.

For example let's create plrpro directory and place index.php file within. What we will need to do then is just to point visitor to plrpro directory and the rest is done by index.php

In your case you will have to point visitor to plrpro.php in order to redirect to final landing page. What is bad about this method is that visitor may see the plrpro.php and if savvy enough, expose it as an affiliate redirect.
__________________
Proud Member Of AdSense Excellence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT. The time now is 11:11 PM.


vBulletin style developed by Transverse Styles

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0