Open External Links in New Tab not working

#74639
Viewing 15 replies - 1 through 15 (of 18 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Bernhard Gemassmer
    Rank Math pro
    Content AI Creator

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Bernhard Gemassmer
    Rank Math pro
    Content AI Creator

    You broke my website. Most of pages and posts give a 404 error now. Please fix this urgently.

    Bernhard Gemassmer
    Rank Math pro
    Content AI Creator

    The monitor Kolosseum de (https://www.tourist-in-rom.com/de/kolosseum/) is currently DOWN (HTTP 404 – Not Found).
    Event timestamp: 2020-08-03 17:04:06 UTC+0

    The monitor Kolosseum de (https://www.tourist-in-rom.com/de/kolosseum/) is back UP (HTTP 200 – OK) (It was down for 1 hour, 24 minutes and 34 seconds).
    Event timestamp: 2020-08-03 18:28:40 UTC+0

    1. I disabled all redirects -> site is still on 404
    2. I disabled Rank Math -> site turned normal
    3. I re-enabled Rank Math -> site continues to work normal
    4. I re-enabled all redirects -> site continues to work normal

    But external links still not open in a new tab.

    Solution? Shall I roll back to 1.0.44.1?

    Hello,

    We have not logged into your website yet. Otherwise, we would have replied to you.

    With that said, please share a page with the external link not working issue so we can check.

    Alberto
    Rank Math business

    Hello,

    I am trying to log in to check the issue so I can provide you with a solution, but the login link seems to have expired, could you check it?

    Looking forward to help you.

    Bernhard Gemassmer
    Rank Math pro
    Content AI Creator

    You have logged in yesterday and activated the health check & troubleshooting plugin at 18:34 CEST from IP 41.80.xxx.xxx.
    I’ll give you now a new access and update the details.

    Hi,

    Please share the URL of a page with external URLs that aren’t opening in a new tab.

    We testing on our local installation and the option is working correctly:
    https://i.rankmath.com/vSZg7G

    Please share a link of one published post with this issue or let us know if we are free to publish a post for testing purposes.

    Bernhard Gemassmer
    Rank Math pro
    Content AI Creator

    https://www.tourist-in-rom.com/en/papal-audience-general-audience/

    External link: The google maps logo (in the 3rd paragraph of the chapter “Pope Francis audience tickets”

    External link: Prefecture of the Papal Household

    External link: The appointments of Pope Francis on the Vatican website
    (both above the picture of the bronze gate)

    Hello,

    It looks like the temporary login link you added in the Sensitive Data section is expired. Can you please generate a new link?

    Looking forward to helping you.

    Bernhard Gemassmer
    Rank Math pro
    Content AI Creator

    OK, temporary login is active.

    Hello,

    I see the issue on your site but I couldn’t reproduce it on my setup. I even tried importing the content from your site but still no luck. Can you add your site’s FTP access in the Sensitive Data Section so we can debug the issue by editing some plugin files?

    Looking forward to helping you.

    Bernhard Gemassmer
    Rank Math pro
    Content AI Creator

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Bernhard Gemassmer
    Rank Math pro
    Content AI Creator

    Please remember, that ver. 1.0.44.1 works correct. The problem exists only after last updates. I tested also with another installation and had the same problem.

    Hello,

    The Open link in the new tab option is not working when the Nofollow Image option is enabled in the Rank Math settings. It’s a bug in the plugin and I have logged it. Please allow us some time to test and release a fix. It should be added to the plugin in the upcoming update.

    For now, to fix the issue on your site, I changed the condition on line 152 in wp-content/plugins/seo-by-rank-math/includes/frontend/class-link-attributes.php file:

    replaced:
    if ( ! $this->nofollow_link && $this->new_window_link && $this->nofollow_image && $this->add_noopener ) {

    with:
    if ( ! $this->nofollow_link && ! $this->new_window_link && ! $this->nofollow_image && ! $this->add_noopener ) {

    This seemed to have fixed the issue. Can you please confirm?

    Thank you.

Viewing 15 replies - 1 through 15 (of 18 total)

The ticket ‘Open External Links in New Tab not working’ is closed to new replies.