WordPress.org

Ready to get started?Download WordPress

Forums

Amazon Affiliate Link Localizer
Redirects to wrong Country (10 posts)

  1. flamenko
    Member
    Posted 1 year ago #

    I am told that , in the US, they are getting Amazon.Ca results for these Amazon links... see bottom:

    I use WP SuperCache...should there be any specific settings updates?

    http://thessdreview.com/our-reviews/adata-xpg-sx300-256gb-msata-ssd-review/6/

  2. flamenko
    Member
    Posted 1 year ago #

    update! Ok this has to have something to do with caching and WP Supercache... any thoughts? I turn off caching and several of my links are now redirecting properly. Is there a way NOT to cache external links?

  3. PeteWilliams
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, which link are you talking about? At the moment, the plugin does not appear to be running on that page.

    Pete

  4. flamenko
    Member
    Posted 1 year ago #

    I took the plug in down because I never had any responses...will put back up for the night if it might help...

  5. PeteWilliams
    Member
    Plugin Author

    Posted 1 year ago #

    Seems to be working fine for me (I get a UK link).

  6. tiggsy
    Member
    Posted 1 year ago #

    I'd be happy to give a donation, if you could make a version that makes it go to US for any country which doesn't have a Kindle Store (only US, UK, Germany, France, Italy, Spain do)

  7. tiggsy
    Member
    Posted 1 year ago #

    @flamenko. Supercache stores the whole page, as will any caching plugin/system, so the only way to get dynamic links (as provided by this plugin) is not to cache at all.

  8. PeteWilliams
    Member
    Plugin Author

    Posted 1 year ago #

    Tiggsy, drop me an email via my website (http://petewilliams.info). I'm sure we can sort something out.

    Pete

  9. Hugh Grigg
    Member
    Posted 1 year ago #

    Hi there. I'm seeing this issue on my site at: http://sleepmo.com/how-to-fall-asleep-faster/ If I access the page from the UK, the links are converted to Amazon DE (the Amazon links are at the end of the article).

    I don't run any caching plugins so I can't see how it would be a caching issue here. Any ideas?

  10. PeteWilliams
    Member
    Plugin Author

    Posted 1 year ago #

    Hi aeriph,

    The script isn't actually running on that page. For some reason the 'type="text/javascript"' attribute has been replaced with 'type="text/rocketscript"'.

    A quick Google suggests this is something to do with something called CloudFlare: http://stackoverflow.com/questions/9681032/why-is-wordpress-placing-text-rocketscript-instead-of-text-javascript-when-u

    You might want to look into that and see why it's stopping the script from running.

    Pete

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.