• The FAQ says adblockers will block the plugin and says to change the plugin directory name which I did.

    It also says to add some code to a functions.php file. I’ve added that code to the functions.php file in the theme I’m using, but the name is still in the URLs like this

    https://mysite.com/amazon-auto-links/embed/?embed=amazon-auto-links [more stuff after that]

    Does that code need to be put in a different functions.php file?

    Does the amazon-auto-links.php file name need to be changed?

    What am I missing?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Does that code need to be put in a different functions.php file?

    No. The functions.php file bundled in the WordPress installation.

    Does the amazon-auto-links.php file name need to be changed?

    No.

    Is your problem that old embedded links are no longer working but new ones are fine?

    Thread Starter rubbledubble

    (@rubbledubble)

    I have the code in the functions.php file in the wp-includes folder and it doesn’t change the URLs.

    It’s a new site and I only have the amazon links on two pages. I only added them after I installed your plugin.

    I’ve deleted my browser cache. Turned off the caching plugin. And cleared the cache from within the Amazon Auto Links plugin. Still, when I look at the page source, “amazon auto links” is twice in the URL as I showed above.

    I’m using the “embed” feature, where I add a URL to a page. I’m also using the “list” template. Maybe one of those are the issue.

    ->> I’ve been using the iframe option and I think that’s at least part of the issue. When I uncheck the iframe box, the URLs are just raw with my affiliate link and don’t have the “amazon auto links” text in them.

    However, this still shows:
    <div class=”amazon-auto-links-product“>
    <div class=”amazon-auto-links-product-image“>
    <div class=”amazon-auto-links-product-body“>

    I don’t know if those divs are enough for the adblockers to block them.

    I’d really like for the iframe option to work though. The links look bad on my site without the iframe.

    Please let me know if you know a fix. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hiding “Amazon Auto Links” in URL not working’ is closed to new replies.