• Resolved Wootie

    (@wootie)


    I just noticed that, apparently out of the blue, a new WP site I’m working on in development has started doing something very strange…it opens *all* links, including menu items, in a new tab.

    But only in Firefox and Chrome on my desktop – IE and Opera work fine on my desktop. On the other hand, Opera and Firefox do the same thing on my Android phone – new tab for every link.

    Using latest build of WP, and latest build of the Responsive theme. Have tried disabling all plugins – no effect.

    Help?

    You can see the site in dev at https://www.northrupsystems.com/d23

Viewing 6 replies - 1 through 6 (of 6 total)
  • Long shot, but don’t Firefox and Chrome have an “open links in new tab” option? (Probably IE and Opera have too.) Perhaps it’s your browser settings rather than WP which is causing it … especially if you’ve just upgraded them and that has caused the default settings to change.

    Sorry – ignore this idea. Does the same thing in my Firefox too, and my settings are definitely not to open links in new tabs. Should have checked that before speaking!!

    Thread Starter Wootie

    (@wootie)

    Yeah I thought of that, but that isn’t it. All other websites work fine – including all my other WP sites, including the other one that uses the same theme.

    This is definitely driving me nuts though…need to get it figured out.

    Hi Wootie, you have this in your site <head>:
    <base target="_blank" />

    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

    Remove that and you should be good. You also have multiple <head> and <body> tags on your page. You should only have one head and body tag for your page.

    I assume you’ve tried the usual – deactivating all plugins, especially anything you’ve added new or updated recently, and switching to the ‘standard’ theme to see if it still happens?

    I’ve had instances where I haven’t tried that … because a problem definitely couldn’t possibly be related … then found out later that in fact it was!

    Thread Starter Wootie

    (@wootie)

    Moondrop got it.

    As soon as I started reading that, it dawned on me what I did. And yes, this was my own fault ??

    I have a few text (HTML) widgets I use just for showing an image with a link to a website…like the sponsor logos you see. I use Microsoft Expression Web 4 to just doodle those little bits of code up, because I’m mind-bogglingly lazy, and then I copy & paste.

    And I pasted in those blank target references with each one. [facepalm]

    So, thank you good sir or madam, as the case may be – and Kevin too ??

    I’ll show myself out. Argh.

    Glad to be of help =)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Suddenly all links and menu items open in new tabs! :O’ is closed to new replies.