Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 04-23-2010, 08:03 AM   #1
The SEO master
War Room Member
 
Adam Roy's Avatar
 
Join Date: Mar 2010
Posts: 1,524
Thanks: 151
Thanked 881 Times in 172 Posts
Default Cloaking Links

I'm having that hardest time trying to cloak my links.

I learned of a strategy, which involves creating a folder, creating a txt document within that folder, containing a <php something redirect. Then uploading this folder to my website server.

To create a cloaked link that reads like this...http://www.mydomain.com/recommends/product name recommends being the folder, and product name being the php document within the folder containing the redirect to the affiliate link.

For some reason this is just not working, I get the TS404 error when I try to test my cloaked link.

Not sure what I'm doing wrong.

Maybe the php code is wrong, or I'm uploading it to the wrong place on my server.

I use bluehost for my hosting, wordpress as my website platform, and filezilla to upload my files.

Any advice? A better way?

Not interested in budurl, tinyurl or anything like that, I want to do this within my own site.

Adam Roy is offline   Reply With Quote
Old 04-23-2010, 04:47 PM   #2
Advanced Warrior
 
Join Date: Apr 2005
Location: Canada
Posts: 913
Thanks: 1
Thanked 81 Times in 68 Posts
Social Networking View Member's Twitter Profile 
Default Re: Cloaking Links

Yeah what you can do is create a folder on your server

Inside put a index.php file

Inside the index.php put

<?PHP
$m = $_GET['m'];
if ($m == "") {$link = "http://www.yoursite.com/";}
if ($m == "3pr") {$link = "http://www.youraffiliatelink.com";}
if ($m == "4ji") {$link = "http://www.youraffiliatelink.com";}

header("Location: $link"); // Jump to the hiddden affiliate URL above
exit();
?>

Now just put on your website in the place of the url

www.yourdomain.com/folder/index.php?m=3pr

Now if you want to add more links just add another like above..

www.yourdomain.com/folder/index.php?m=4ji

http://www.thecopywriterwhisperer.com/ Never underestimate the power of words! Day!http://www.directresponsepublishing.com/ Get my FREE Wordpress plugins
http://www.affiliateorganizer.com/ Organize your entire online business - Super affiliates give it the thumbs up!
JonMills is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum

Tags
cloaking, links

Thread Tools

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

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



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