Changing where my php redirect links to?

8 replies
That title might sound confusing, so lemme explain. I'm promoting a product on the site in my siggy. I've got a php redirect linking to it. When I get my link off cbengine, it goes to a squeeze page. However, I don't want it to.

Code:
http://affiliateID.acnefree.hop.clickbank.net
Is it even possible to send the visitor to a different page?

Thanks for any and all help. The WF rocks.
#changing #links #php #redirect
  • Profile picture of the author StrikeNet
    uh, I'm not sure exactly what you asking but...

    The PHP code to redirect someone is:
    PHP Code:
    <?php
    header
    ("Location: http://websitehere.com");

    //or you can do a 301 redirect
    header("Location: http://websitehere.com"true301);
    ?>
    Signature
    {{ DiscussionBoard.errors[2517607].message }}
  • Profile picture of the author HONUware
    so this link:

    Diet for Acne

    redirects to a page you don't want it to?

    Do this:

    Code:
    <?php
    header("Location: http://www.whereitshouldgo.com/"); /* Redirect browser */
    ?> 
    put the code in your index.php file in the root of your domain. There should not be any lines above the code.

    hth
    {{ DiscussionBoard.errors[2517608].message }}
  • Profile picture of the author samstephens
    If I understand correctly, you're an affiliate of a product, but when you use the vendor's affiliate link, it goes to a squeeze page. You don't want it to.

    Since you don't have access to the vendor's website, you'll need to contact them and ask them if they have an affiliate link for a different page on their website.

    There is the ability to send someone straight to the Clickbank payment page, but that skips everything, so you'd need to create your own sales page in that case.

    Hope this helps!

    cheers
    Sam
    Signature
    DLGuard v5 - The Warrior Edition
    Full integration with JVZoo, DigiResults, and WSO Pro for secure WSO's and WSO memberships.

    www.dlguard.com
    Serving the Warrior Forum since 2004
    {{ DiscussionBoard.errors[2517695].message }}
    • Profile picture of the author el-chucklebuck
      Originally Posted by samstephens View Post

      If I understand correctly, you're an affiliate of a product, but when you use the vendor's affiliate link, it goes to a squeeze page. You don't want it to.
      You hit the nail right on the head. I wasn't sure if you could change the page that hop leads to.

      Thnx for the help guys.
      Signature
      Josh Meyer
      Diet for Acne
      $2500/month is the goal.
      "The more I see, the less I know, the more I like to let it go." -Red Hot Chili Peppers
      {{ DiscussionBoard.errors[2517764].message }}
      • Profile picture of the author HONUware
        Originally Posted by el-chucklebuck View Post

        You hit the nail right on the head. I wasn't sure if you could change the page that hop leads to.

        Thnx for the help guys.
        Are you wanting your site to be the sales page?
        If so, do you have your sales page made?
        Do you want your buy link to go straight to the payment page of the product owner?
        If not, where do you want it to go?

        PM me your details of you need done if you don't want to post here.

        Ron

        p.s. Where are you in Texas?
        {{ DiscussionBoard.errors[2518261].message }}
    • Profile picture of the author el-chucklebuck
      Originally Posted by samstephens View Post

      Since you don't have access to the vendor's website, you'll need to contact them and ask them if they have an affiliate link for a different page on their website.
      I guess you're right. Vince DelMonte offers different sales pages that you can link to. Thanks for the help guys.
      Signature
      Josh Meyer
      Diet for Acne
      $2500/month is the goal.
      "The more I see, the less I know, the more I like to let it go." -Red Hot Chili Peppers
      {{ DiscussionBoard.errors[2525370].message }}
  • Profile picture of the author el-chucklebuck
    The hop link that clickbank offers leads to a squeeze page. however, I would like it to lead to the homepage of the product, the page that you would find if you googled the product.

    @Honuware I'm in the killeen/fort hood area.

    *Edit* I just have a suspicion that the vendor is ignoring my affiliate link after the customer follows through w/ the opt-in box.
    Signature
    Josh Meyer
    Diet for Acne
    $2500/month is the goal.
    "The more I see, the less I know, the more I like to let it go." -Red Hot Chili Peppers
    {{ DiscussionBoard.errors[2520115].message }}
    • Profile picture of the author HONUware
      I sent you a PM
      {{ DiscussionBoard.errors[2522387].message }}

Trending Topics