The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “1Win

Domain redirect question

Thanks for so many answers!

38 people have viewed the post but non one dared answer. Guess I asked a very difficult question.

Can you use landingpage.mydomain.com to redirect. Can you use mydomain/landing page to redirect???

Do you have to use www.mydomain.com to redirect to a cpa offer

Anyone???
 
Sorry I over looked this. Below is a copy is a simple php script I found on Google. You can use this in a subdomain or a folder.

You can use a simple PHP script to redirect a user from the page they entered to a different web page. One reason you may want to do this is that the page they are trying to access no longer exists. Using this method, they can be seamlessly transferred to the new page without having to click a link to continue.

Users are redirected quickly and seamlessly
When using the 'Back' button, the user is taken to the last viewed page, not the redirect page
Works on all browsers

Difficulty: Easy
Time Required: 1 Minute
Here's How:

<?php

header( 'Location: http://www.yoursite.com/new_page.html' ) ;

?>

Change the code on the redirect page to be simply this. You need to replace the URL above with the URL you wish to direct to.
Be sure that you do not have any text sent to the browser before this, or it will not work. Your safest bet is to simply remove all content from the page but the redirect code.

This is the site I found this script on http://php.about.com/od/learnphp/ht/phpredirection.htm
 
I use this php redirect all the time.

In your case, the link would look like www.mydomain.com/offer.php, and it would redirect to any page you put in the "location" field mentioned by Patrick.

You can just make a file in notepad, input your destination link, save the file as anyname.php (in your case it would be offer.php), and upload it to the root of the site. If you upload the offer.php to a directory, for example /root/help, then your link would be www.mydomain.com/help/offer.php

The script:
Code:
<?php
header('Location:http://destination-link.com/');
?>

I like php redirect for one main reason. That reason being if I make 100 youtube vids, 100 yahoo answers, god knows how many comments on blogs and forum signatures with the link www.mydomain.com/offer.php, and the offer expires and leads to a offer wall OR if I find a similar offer with a better payout, my efforts will not be wasted. This is achieved by simply changing the destination link in the script to that of a similar offer or product, and 2 minutes of work mean I am back in business.

Hope I made sense.
 
banners
Back