![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
HyperActive Warrior
War Room Member
Join Date: Jun 2008
Location: Melbourne, Victoria, Australia
Posts: 169
Thanks: 10
Thanked 3 Times in 3 Posts
|
Hey all,
Just a quick question. How do you redirect an affiliate link as, http://yoursite.com/recommends... ie. how do you get the recommends (or any other word) up there? Cheers, Johnson. |
|
EmergencyContent.com - For When You Needed The Content Yesterday!
|
|
|
|
|
|
|
#2 |
|
TheUniversityKid.com
War Room Member
Join Date: Nov 2007
Location: Bangalore
Posts: 348
Thanks: 32
Thanked 52 Times in 31 Posts
|
Create a folder in your cPanel under root, call it whatever you want.
Under that folder create php files for each product you want to promote. So bloggingtothebank.php , wsooffer.php and so on. The code you need to use: Code:
<?php
header("location:http://www.youraffiliatelink.com/?id=123");
exit;
?>
Or... create a folder called productname under your recommends folder, and use the same code above in a file called index.php You can then link to www.yoursite.com/recommends/wsooffer |
|
|
|
|
|
|
|
|
#4 |
|
Active Warrior
Join Date: Aug 2008
Location: Johannesburg, South Africa
Posts: 34
Thanks: 14
Thanked 6 Times in 5 Posts
|
Another way is to create redirects in the .htaccess file.
Redirect /recommends/productone product1.com Redirect /recommends/producttwo http://product2.com/?=youraffiliatecode This way they're all in one place, so it's easy to update them if necessary. The '/recommends' folder does not actually need to exist. Here is a blog post which goes into a bit more detail: Using .htaccess Redirects for Affiliate Links .htaccess It's probably a good idea to add the '/recommends' folder to the robots.txt disallow list. |
|
|
|
|
|
|
|
|
#5 |
|
Active Warrior
Join Date: Mar 2009
Posts: 95
Thanks: 3
Thanked 4 Times in 2 Posts
|
Or use something like Redirect-It-Pro
![]() ![]()
|
|
|
|
|
|
|
|
|
#6 |
|
Banned
Join Date: Apr 2009
Posts: 62
Thanks: 38
Thanked 17 Times in 5 Posts
|
Simply make a new folder under public_html in cPanel.
Then you need to create a PHP file with the following code in it: Code:
<?php echo "<meta http-equiv="refresh" content="0;url=http://websiteurl.com">"; ?> - Lokesh Sharma |
|
|
|
|
|
#7 | |
|
HyperActive Warrior
War Room Member
Join Date: Jun 2008
Location: Melbourne, Victoria, Australia
Posts: 169
Thanks: 10
Thanked 3 Times in 3 Posts
|
Quote:
You'll probably ignore this but I'm sure it'll get a lot of traffic to a website you own. Could you show how to do that above in a video? Or do you know any videos that do that? Cheers, Johnson. | |
|
EmergencyContent.com - For When You Needed The Content Yesterday!
|
||
|
|
|
|
|
#8 | |
|
HyperActive Warrior
War Room Member
Join Date: Jun 2008
Location: Melbourne, Victoria, Australia
Posts: 169
Thanks: 10
Thanked 3 Times in 3 Posts
|
Quote:
Is there a way to contact Andy Fletcher here on the Warrior Forum? I emailed him from freelinkcloaker.com a couple weeks back but he hasn't replied yet. Cheers, Johnson. | |
|
EmergencyContent.com - For When You Needed The Content Yesterday!
|
||
|
|
|
|
|
#9 | |
|
Resident Copy Geek
War Room Member
Join Date: Nov 2006
Location: Spokane, WA
Posts: 471
Blog Entries: 1
Thanks: 106
Thanked 32 Times in 29 Posts
|
Quote:
| |
|
Darrel Hawes
|
||
|
|
|
|
|
#10 |
|
Senior Warrior Member
War Room Member
Join Date: May 2005
Location: , , .
Posts: 1,036
Thanks: 7
Thanked 19 Times in 11 Posts
|
|
|
|
|
|
|
|
|
|
#11 | |
|
HyperActive Warrior
War Room Member
Join Date: Jun 2008
Location: Melbourne, Victoria, Australia
Posts: 169
Thanks: 10
Thanked 3 Times in 3 Posts
|
Quote:
I'm almost there. When you're making the php file, do just use notepad and when you're saving it, do you just call it productname.php? Because I did that and for some reason or another, it's not working... Cheers, Johnson. | |
|
EmergencyContent.com - For When You Needed The Content Yesterday!
|
||
|
|
|
|
|
#12 |
|
HyperActive Warrior
War Room Member
Join Date: Jun 2008
Location: Melbourne, Victoria, Australia
Posts: 169
Thanks: 10
Thanked 3 Times in 3 Posts
|
Actually no problem. I didn't know the address was case-sensitive. cheers.
Johnson. |
|
EmergencyContent.com - For When You Needed The Content Yesterday!
|
|
|
|
|
|
|
#13 |
|
Warrior Member
Join Date: Jun 2009
Posts: 15
Thanks: 6
Thanked 1 Time in 1 Post
|
I use GoCode plugin for Wordpress... works great
Can't post working links yet but here is the url webmaster-source.com/gocodes-redirection-plugin-wordpress/ |
|
|
|
|
|
|
![]() |
|
| Tags |
| johnson, johnson kee |
| Thread Tools | |
|
|
![]() |