WordPress.org

Ready to get started?Download WordPress

Forums

Amazon Affiliate Link Localizer
[resolved] Unable to use the plugin with a PHP redirect (2 posts)

  1. abe11
    Member
    Posted 1 year ago #

    I want to use a PHP redirect page but the plugin will not work, the PHP redirect is as follow:

    <?php
    header('location:http://www.amazon.com/gp/aws/cart/add.html…')
    ?>

    So someone will click a link that looks like

    http://www.mydomain.com/product.php

    I really don't want to use a 3rd party link service like the bitly.com, besides, it looks unprofessional sending people to Amazon VIA another domain…
    Is there a way to make it work?
    Thanks

    http://wordpress.org/extend/plugins/amazon-affiliate-link-localizer/

  2. PeteWilliams
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Unfortunately, the script doesn't work with cloaked links - if the URL doesn't have Amazon.com/co.uk/etc in then the script can't detect it as an Amazon link.

    I may look at adding support for this in a future version if I get time.

    The only way to use the script is to drop your redirect page and use traditional Amazon links.

    Pete

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic