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.