| | #1 |
| Glenn Downer War Room Member Join Date: 2007 Location: East Coast USA
Posts: 329
Thanks: 6
Thanked 14 Times in 11 Posts
|
I need help with redirect codes. I want to use one blog, and be able to redirect my email subscribers through that blog, and directly to several different affiliate offers. I am trying to eliminate the long ugly affiliate links, that scream, I'm trying to sell you something, from the emails I send out on a variety of subjects, with different offers. I bought a neutral domain, and I can put a product related phrase after it like getmoreinfo.com/lose-weight I have managed to figure out how to get the home page of the blog to redirect to an affiliate product, by inserting my redirect code into the index.php file. My question is how to I get other pages to redirect to affiliate products. I made a second page on this blog, and I have poked around using my ftp program, and can't seem to find where I would put the redirect code, to make it redirect to a different affiliate program. I have a hostgator reseller account. I do see another index.php file in the wp-content folder, but I am not sure if that is the place. This is the redirect code I am using <?php header( 'Location: http://myaffiliate.productid.hop.clickbank.net/?tid=18' ) ; ?> Thanks Glenn |
| |
| | #2 |
| Web Developer Join Date: 2010 Location: Wisconsin
Posts: 322
Thanks: 2
Thanked 80 Times in 74 Posts
|
Seeing that you are from the US like me, you might want to have a look at this FTC Publishes Final Guides Governing Endorsements, Testimonials Here is the gist of it in someone elses article FTC Notice You can do what you want, I just thought I would bring it to your attention. |
| | |
| |
| | #3 |
| Active Warrior Join Date: 2010 Location: Phoenix, AZ
Posts: 37
Thanks: 2
Thanked 6 Times in 5 Posts
|
what you should do is go to the root directory on your account (public_html) and create a folder for each product you want to promote, ex: getmoreinfo.com/gain-muscle then put an index.php file with the redirect code in that folder. Just create separate folders for with redirect scripts for each product you promote.
|
|
I'm looking for BETA testers for my software https://endorsebot.com.
| |
| |
| | #4 | ||
| VIP Warrior War Room Member Join Date: 2007 Location: Caldwell, Idaho, USA.
Posts: 1,967
Thanks: 1,024
Thanked 2,043 Times in 1,183 Posts
|
You'll definitely want to stay out of your theme files and use a plugin instead. | ||
|
The 2nd Amendment, 1789 - The Original Homeland Security. Gun control means never having to say, "I missed you." | |||
| |
| | #5 |
| Warrior Member Join Date: 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
Did you mean you want to redirect blog pages to an affiliate product? If your site is powered by Wordpress then you can use a FREE plugin called Page Links To. You can redirect a page to any URL you want, this includes affiliate products.
|
| |
|
| Bookmarks |
| Tags |
| blog, codes, redirect |
| |