Viewing 7 replies - 1 through 7 (of 7 total)
  • Unless you own the site no.

    The open in a new tab / window is set by the person posting the link or the programmer. Many sites do that so their page you were on stays active in your browser. Their way of encouraging you to come back and read another article.

    Any changes would need to be in your browser and I have not a clue if that is possible.

    Thread Starter miraage

    (@miraage)

    I DO own the site of course, it’s MY installation. I just want to know know where in the HTML of the wordpress installation I need to go to STOP ALL the links and page links opening into a NEW tab in Firefox and a NEW window in explorer.
    There MUST be a universal HTML setting somewhere in the HTML files to change it but I don’t know where this is.
    I have the same problem with another site here:
    https://soccerworldcup10.com/

    I’ve just CLONED them from another wordpress site that works fine and does NOT have this problem. Something happened in the cloning process.

    Thanks to anyone who can point me to the HTML to change this.

    Guessing you have a plugin, maybe a related post type plugin, that does causes that.

    Thread Starter miraage

    (@miraage)

    All the plug ins are the same on the sites that work OK and the sites that don’t so I don’t think it can be a plug ij.
    I’m hoping there is HTML somewhere in the wordpress installation that I can adjust. Thanks for replying.

    Well here’s an example of a link using the _blank target that causes a new tab/window to open.

    <a href="https://www.xyz.org/" title="XYZ.org" target="_blank">XYZ link open in new tab/window</a>

    and a link that doesn’t open in a new tab/window

    <a href="https://www.xyz.org">XYZ link</a>

    Thread Starter miraage

    (@miraage)

    Thanks Michael, the code I need to remove will be target=”_blank”

    But, in which HTML file would I find it in the word press file editor?
    style.php?
    style.css?
    page.php?

    I just don’t knoow where to look to find the overall setting that determines how links open.
    Thanks

    Hmm…make sure that your Blog and WordPress Addresses in Administration > Settings > General is set to https://soccerworldcup10.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘how to stop all links opening new tab/window’ is closed to new replies.