how to do an affiliate link redirect?
-
DarleneN
- Posts: 8
- Joined: 27 Oct 10
- Location: United States
- Trust:
29 Oct 10 11:22 pm
how to do an affiliate link redirect?
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!
-
newstart - Posts: 268
- Joined: 01 Jan 10
- Location: United States
- Trust:
30 Oct 10 11:10 am
You can name these redirect pages anything you would like such as "recommends/product name or a number".
-
DarleneN
- Posts: 8
- Joined: 27 Oct 10
- Location: United States
- Trust:
30 Oct 10 2:04 pm
-
milansangan
- Posts: 60
- Joined: 07 Oct 10
- Trust:
01 Nov 10 12:03 am
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
-
DarleneN
- Posts: 8
- Joined: 27 Oct 10
- Location: United States
- Trust:
01 Nov 10 12:34 am
-
affil96754
- Posts: 176
- Joined: 24 Apr 09
- Location: Australia
- Trust:
01 Nov 10 4:23 am
-
DarleneN
- Posts: 8
- Joined: 27 Oct 10
- Location: United States
- Trust:
01 Nov 10 3:36 pm
-
mikeantiga - Posts: 601
- Joined: 28 Mar 10
- Location: Philippines
- Trust:
03 Nov 10 11:37 pm
http://www.affilorama.com/lessons
-
M0ney
- Posts: 8
- Joined: 16 Oct 10
- Location: Great Britain
- Trust:
14 Nov 10 5:20 pm
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.
-
redritz
- Posts: 41
- Joined: 16 Sep 10
- Location: United States
- Trust:
30 Jan 11 4:26 am
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
http://www.thedietsolutionprogram.com/specialtrial.aspx?hop=redritzcl&m=ad&r=aff
-
gradyp - Posts: 1006
- Joined: 28 Jun 09
- Location: United States
- Trust:
30 Jan 11 7:35 am
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
-
michellerana - Posts: 2131
- Joined: 05 May 09
- Location: Philippines
- Trust:
30 Jan 11 8:30 pm
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:
31 Jan 11 1:39 pm
Patience Grasshopper, patience. hahaha
Red
http://www.thedietsolutionprogram.com/specialtrial.aspx?hop=redritzcl&m=ad&r=aff
-
redritz
- Posts: 41
- Joined: 16 Sep 10
- Location: United States
- Trust:
31 Jan 11 7:31 pm
http://www.youtube.com/watch?v=TsuhSYSNQvA
There are 3 videos in all.
Thanks,
Red
http://www.thedietsolutionprogram.com/specialtrial.aspx?hop=redritzcl&m=ad&r=aff
-
mikeantiga - Posts: 601
- Joined: 28 Mar 10
- Location: Philippines
- Trust:
01 Feb 11 3:00 am
http://www.affilorama.com/lessons
-
majkonline
- Posts: 71
- Joined: 30 Apr 09
- Trust:
19 Sep 11 6:49 pm
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
-
michellerana - Posts: 2131
- Joined: 05 May 09
- Location: Philippines
- Trust:
19 Sep 11 11:41 pm
Go to this link to start building your profitable affiliate sites now!
http://www.affilorama.com/affiloblueprint/v3
