Skip to content
Cart () items in cart

Opening links in a new tab in WordPress

Why links to your own pages should open in the same tab and links to other websites in a new tab, and how to set this in WordPress.

The simple, unwritten rule of user-friendliness is as follows: Links to pages or posts on your own website should never open in a new tab. Links to other websites, or to PDFs for example, should always open in a new tab.

This way, there is less chance that your visitors will lose their way. Once they have finished reading the article on the linked website, they close that tab, leaving your website open in the tab below.

When adding a link to a page or post on your own website, you do not need to change any settings as the link opens in the same tab by default.

Want to link to another website? Then turn on the ‘Open in new tab’ setting for that particular link:

  1. Select the text you want to turn into a link.
  2. Click the link button in the toolbar above the block.
  3. Paste the address of the other website and press Enter or click the ‘Submit’ icon to the right.
  4. Click the link once more, then click the pencil icon to edit it.
  5. Open ‘Advanced’ and turn on ‘Open in new tab’.
  6. Click Apply.
The importance of using the correct link rel attribute in WordPress FourteenRockets

The same setting applies to a PDF or any other file you link to.

WordPress tips & special offers

WordPress tips for LGBTQ+ organisations and businesses, plus the occasional offer. You can unsubscribe at any time.

Thanks for signing up, we appreciate that.

1000 lbs makes Tai Chi clothing in the Netherlands, each suit hand-sewn to the customer’s measurements. We designed and host their website.

1000LBS logo