• Hi Stuart

    So, although the link has worked a couple of times in this site it is generally not working for me.

    When I click the link “buy from hive” button is just loops within the same tab to the same page.

    I have another site on which it seems to be working ok but it’s this site I really need it working smoothly on as this is where, once “complete”, I hope to gain some income from affiliate links.

    I look forward to hearing from you again.

    Many thanks and best wishes,

    Jerry.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @jerrystampfer

    Looking at your site for us today the correct HTML is being outputted for the button link and within that, you’ll see the target="_blank" HTML tag displayed.

    It’s that standard HTML tag that tells links that should open in a new browser window.

    When testing for us it seems possibly related to the https://tinyurl.com/ service. When I click the button the link opens but then almost immediately closes the new browser tab again.

    As a test, I replaced the outputted link within the HTML with https://www.remarpro.com. When clicking the buy from hive button the link of https://www.remarpro.com opens in a new tab.

    I also receive the same error when using the https://tinyurl.com service on one of my installations. This is not something that is directly related to the WooCommerce External Product New Tab though and other link shortening services like bit.ly as an example work fine.

    You can try this link below on your own site.

    https://bit.ly/3IDwDxQ

    It seems that the https://tinyurl.com service for some peculiar reason does not like redirects from links that open in a new tab. Or at least it does not like the link you’re currently using on that product.

    I hope this helps!

    Kind regards,

    Thread Starter jerrystampfer

    (@jerrystampfer)

    Stuart

    Many thanks for this suggestion.

    I replaced the tinyurl link with your suggested link and it worked.

    I then replaced the link with the URL and that goes back to the same problem. I need to use the original link or the tinyurl link because, as I am sure you will realise, it contains my affiliate tracking information.

    I have tried the plugin on my other live site and it now works fine. I am wondering if there is a conflict with another plugin or with the theme?

    J

    Thread Starter jerrystampfer

    (@jerrystampfer)

    Further to the above I have tried a different plugin which is designed to achieve the same thing and this also did not work.
    I think this must be something to do with the theme. Is there anyway of finding out?
    J

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not linking to external site – just looping within product page’ is closed to new replies.