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: 4
Joined: 27 Oct 10
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).



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!
  • 1
Last edited by sydney on 25 Oct 11 1:01 am, edited 1 time in total.
Reason: removed broken link
 

newstart
Posts: 194
Joined: 01 Jan 10
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".
  • 1
darlenen
Posts: 4
Joined: 27 Oct 10
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!
  • 1
milansangan
Posts: 55
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.
https://www.affilorama.com/site-building/php-includes
  • 1
darlenen
Posts: 4
Joined: 27 Oct 10
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!
  • 1
mortalengine
Posts: 174
Joined: 24 Apr 09
Trust:
go codes plugin for wordpress very simple
  • 1
darlenen
Posts: 4
Joined: 27 Oct 10
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.
  • 1
Site Admin
mikeantiga
Posts: 753
Joined: 28 Mar 10
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.
  • 1
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 
m0ney
Posts: 5
Joined: 16 Oct 10
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.
  • 1
Work Smart Not Hard!!
 
redritz
Posts: 35
Joined: 16 Sep 10
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. https://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:
https://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
  • 1
PremiumMember
gradyp
Posts: 848
Joined: 28 Jun 09
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
  • 1
Have questions about creating images? Want an image created for you? Check out my site at www.GradyPruitt.com/welcome-affilorama-friends
 
Site Admin
michellerana
Posts: 1874
Joined: 05 May 09
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.
  • 1
Michelle
Customer Support
=========================

Limited time special - Pathway to Passive for $37: http://www.affilorama.com/pathwaytopassive
 
redritz
Posts: 35
Joined: 16 Sep 10
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
  • 1
redritz
Posts: 35
Joined: 16 Sep 10
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
  • 1
Site Admin
mikeantiga
Posts: 753
Joined: 28 Mar 10
Trust:
Thanks for sharing, Red! :)
  • 1
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 
majkonline
Posts: 70
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
  • 1
Site Admin
michellerana
Posts: 1874
Joined: 05 May 09
Trust:
You can also watch the Affilorama lessons on how to hide your affiliate links with redirects here.
  • 1
Michelle
Customer Support
=========================

Limited time special - Pathway to Passive for $37: http://www.affilorama.com/pathwaytopassive
 

This topic was started on Oct 29, 2010 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.

cron