monetizer expertmobi
Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

Domain redirect question

Discussion in 'General Affiliate Marketing Forum' started by Parry, Mar 11, 2012.

  1. Parry

    Parry Affiliate affiliate

    362
    21
    18
    I want to redirect from a new domain to a CPA offer on Facebook advertising. Instead of using www.mydomain.com can I use www.mydomain.com/offer to redirect. Is it possible or does it have to be the main domain(www.domain.com) only?

    Why I want to do this is because I would like to use the main domain for some posts while using the /-- for the offer.
     
  2. monetizer
  3. Parry

    Parry Affiliate affiliate

    362
    21
    18
    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???
     
  4. JohnCPAAlpha

    JohnCPAAlpha Affiliate Manager Affiliate Manager affiliate

    310
    0
    0
    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
     
  5. smilodon

    smilodon Affiliate affiliate

    310
    30
    28
    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.
     
  6. EymardSiojo

    EymardSiojo GRIND! affiliate

    1,724
    273
    83

Featured Resources (View All)

MI