Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

how to do an affiliate link redirect?

DarleneN
 
Posts: 8
Joined: 27 Oct 10
Location: United States
Trust:

how to do an affiliate link redirect?

Hello all,

I'd like to do an affiliate link redirect so that my hoplink looks better for a visitor to click on. I read the article on "How to hide your affiliate link with redirects."

The article says:

"PHP redirects:

The easiest way to do it is to simply paste the following snippet of code into a blank web page, and change it to point to the page you want to redirect to. (Which will usually be your affiliate link).

Code: Select all
<?php
header( 'Location: http://www.youraffiliatelink.goes.here.com' ) ;
?>


IMPORTANT: This code needs to go directly into your HTML in source view, and it must go into a completely blank page: There shouldn't be anything else on the page, not even <html> </html> tags. You also need to save the page as a .php file."


I don't know where to save this web page, or what to name it, or how this will redirect my hoplink to a better-looking link.

I've searched the forums, but I can't find step-by-step directions anywhere as to how to do this.

I found the URL Redirect Generator tool, but I don't have a clue as to how to use it. Can anybody just give me the "Affiliate Link Redirect Directions for Dummies"?

Thanks for your help!
 

  • 0
Last edited by sydney on 25 Oct 11 1:01 am, edited 1 time in total.
Reason: removed broken link
 

PremiumMember
newstart
 
Posts: 268
Joined: 01 Jan 10
Location: United States
Trust:

The AffiloBlueprint program has detailed instructions covering Word Press and X-Site Pro. The info is very detailed and should answer all of your questions.

You can name these redirect pages anything you would like such as "recommends/product name or a number".
 

  • 0
DarleneN
 
Posts: 8
Joined: 27 Oct 10
Location: United States
Trust:

I have several wordpress blogs and have lots of experience setting them up. The only thing I really need to know is how to do the affiliate redirect. Thanks!
 

  • 0
milansangan
 
Posts: 60
Joined: 07 Oct 10
Trust:

Hello,

In regard to saving a page to a .php file, please check out the link below for more details on this.
http://www.affilorama.com/site-building/php-includes
 

  • 0
DarleneN
 
Posts: 8
Joined: 27 Oct 10
Location: United States
Trust:

Thanks, but I finally managed to figure it out. It took some doing, but I'm like a bulldog when I decide to do something. The upside is that now I know how to do it! The secret was to create a new directory and upload the redirect to that page. Then I linked to the new page. Now I have nice-looking affiliate links that go right to the sales page for the product! Woo hoo!
 

  • 0
affil96754
 
Posts: 176
Joined: 24 Apr 09
Location: Australia
Trust:

go codes plugin for wordpress very simple
 

  • 0



 
DarleneN
 
Posts: 8
Joined: 27 Oct 10
Location: United States
Trust:

Actually I understand that the wordpress people have disabled all link-cloaking plug-ins. I tried Pretty Links, but it doesn't work now unless you buy the pro version for $37. For that price, I decided to figure it out myself.
 

  • 0
Site Admin
mikeantiga
 
Posts: 601
Joined: 28 Mar 10
Location: Philippines
Trust:

If you're using the AffiloTheme 3.0 (the latest version of the AffiloBlueprint theme), you'll see an Affiliate Redirect tool that will let you create redirect links easily. This tool works the same way as the Gocodes plugin.
 

  • 0
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 
M0ney
 
Posts: 8
Joined: 16 Oct 10
Location: Great Britain
Trust:

DarleneN wrote:Hello all,

I'd like to do an affiliate link redirect so that my hoplink looks better for a visitor to click on. I read the article on "How to hide your affiliate link with redirects."

The article says:

"PHP redirects:

The easiest way to do it is to simply paste the following snippet of code into a blank web page, and change it to point to the page you want to redirect to. (Which will usually be your affiliate link).

<?php
header( 'Location: http://www.youraffiliatelink.goes.here.com' ) ;
?>




IMPORTANT: This code needs to go directly into your HTML in source view, and it must go into a completely blank page: There shouldn't be anything else on the page, not even <html> </html> tags. You also need to save the page as a .php file."


I don't know where to save this web page, or what to name it, or how this will redirect my hoplink to a better-looking link.

I've searched the forums, but I can't find step-by-step directions anywhere as to how to do this.

I found the URL Redirect Generator tool, but I don't have a clue as to how to use it. Can anybody just give me the "Affiliate Link Redirect Directions for Dummies"?

Thanks for your help!


You save it as the page that will redirect to your affiliate link. You can call it whatever you wish, whatever you feel it will be right name for the link. Then instead of linking directly to your affiliate program with an affiliate link you link to this newly created page and it redirects your visitors to an affiliate program not showing your referral link. Quite simple. You may also do this with htaccess, html and javascript. But php redirection should be alright.
 

  • 0
Work Smart Not Hard!!
 
redritz
 
Posts: 41
Joined: 16 Sep 10
Location: United States
Trust:

M0ney wrote:[quote=

I found the URL Redirect Generator tool, but I don't have a clue as to how to use it. Can anybody just give me the "Affiliate Link Redirect Directions for Dummies"?

Thanks for your help!


You save it as the page that will redirect to your affiliate link. You can call it whatever you wish, whatever you feel it will be right name for the link. Then instead of linking directly to your affiliate program with an affiliate link you link to this newly created page and it redirects your visitors to an affiliate program not showing your referral link. Quite simple. You may also do this with htaccess, html and javascript. But php redirection should be alright.[/quote]

Hi Everyone,

I guess I need a "Affiliate Link Redirect Directions for Dummies Dummies". hahaha
I found the "Affiliate Redirect on Wordpress.
I am now lost.
1.I watched this video. http://www.affilorama.com/site-building ... -redirects
2. I opened notepad like the video said and copied the "<?php
header( 'Location: http://www.youraffiliatelink.goes.here.com' ) ;
?>" into it.
3. I did change and put in my affiliate link.
4. I did the "recommends" file.
5. I made a file inside for the product I am promoting.
6. I saved inside the folder the file index.php.
Then I felt I was left hanging because I didn't know what to do. So I searched the forum and found this post:
http://www.affilorama.com/member/jrsmoke
7. Where he said,"I have created a redirect directory on my website: 1. http://www.abcxyz.com/redwidget-redirect-page", I (myself) took my new looking link and added it to the "Affiliate Redirect".
8. Then his next directions,"and have installed a php file in the directory as follows:
1. http://www.abcxyz.com/redwidget-redirect-page/index.php
with only the following code in the index.php file:
<?php
header("Location:
1. http://www.we-be-widgets.com/buy-red-widget

");
?>
I thought this meant going into my Filezilla and uploading or transferring the "recommends" file which I did successfully.
But nothing happened.
So please, please, have patience and tell me where I have gone wrong or what I am missing.

Thank You,
Red
 

  • 0
PremiumMember
gradyp
 
Posts: 1006
Joined: 28 Jun 09
Location: United States
Trust:

Red,

Are you trying to use the Affilotheme? If so, which version? If you have the latest one (It would be 3.x, I think), then you have the redirect already built in and you can do it all from within the wordpess admin panel. If you are using a theme other than the Affilotheme, you might try the Pretty Links plug in. The basic one will do the same thing all from within Wordpress and you don't have to worry about trying to create the redirects yourself.

Grady
 

  • 0
Want to know how praise can help you get more visitors to your site? See what I'm trying! http://www.successbuildingblocks.com/what-are-you-grateful-for
 
Site Admin
michellerana
 
Posts: 2131
Joined: 05 May 09
Location: Philippines
Trust:

You could also use the "GoCodes" plugin if you're not using Affilotheme. It works similarly with the Affiliate Redirect component of the AffiloTheme.
 

  • 0
Want a step-by-step training program in affiliate marketing? Affiloblueprint is a "hand-holding" course that will will show you how to build a site, drive traffic to it, and monetize it.

Go to this link to start building your profitable affiliate sites now!
http://www.affilorama.com/affiloblueprint/v3
 
redritz
 
Posts: 41
Joined: 16 Sep 10
Location: United States
Trust:

I am using AffiloTheme 3.0. I understand that you can do all the redirect inside Wordpress. I am just not getting the cloaking for some reason. I was hoping to find some step by step directions since I am so daft about all this. I'll try doing a google search and see what I can come up with.

Patience Grasshopper, patience. hahaha

Red
 

  • 0
redritz
 
Posts: 41
Joined: 16 Sep 10
Location: United States
Trust:

Hurry for Google! I found an excellent step by step instructions video. If anyone else would like some step by step instructions take a look at this:

http://www.youtube.com/watch?v=TsuhSYSNQvA

There are 3 videos in all.

Thanks,
Red
 

  • 0
Site Admin
mikeantiga
 
Posts: 601
Joined: 28 Mar 10
Location: Philippines
Trust:

Thanks for sharing, Red! :)
 

  • 0
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 
majkonline
 
Posts: 71
Joined: 30 Apr 09
Trust:

redritz wrote:Hurry for Google! I found an excellent step by step instructions video. If anyone else would like some step by step instructions take a look at this:

http://www.youtube.com/watch?v=TsuhSYSNQvA

There are 3 videos in all.

Thanks,
Red


Thank you Red. I just watched the video. How simple it is to create a redirect link?

Much Appreciated,
Adrian
 

  • 0
Site Admin
michellerana
 
Posts: 2131
Joined: 05 May 09
Location: Philippines
Trust:

You can also watch the Affilorama lessons on how to hide your affiliate links with redirects here.
 

  • 0
Want a step-by-step training program in affiliate marketing? Affiloblueprint is a "hand-holding" course that will will show you how to build a site, drive traffic to it, and monetize it.

Go to this link to start building your profitable affiliate sites now!
http://www.affilorama.com/affiloblueprint/v3