Home Tips How to Set All Links Open in a New Tab or Window

How to Set All Links Open in a New Tab or Window

266
0
SHARE
How to Set All Links Open in a New Tab

We will give links inside the content or for images etc, but you will forget to set links open in new window for all inner links. Here I am giving a simple step to set up all links open in new window. You can set up it manually for every link while posting or publishing your content or else you can update it again to open in new window. But follow my procedure to set all links open in new tab without giving option for every link.

For blogger we can edit link to open link in new window that you can see from the below screen shot to know how to set up new window option for all inner links while publishing any content or posts. For WordPress and all other platforms will have options to set link open new window.

How to Set All Links Open in a New window in blogger

How to setup all links in new tab/window:

  • You need to place this tag or code <base target=’_blank’/> after the <head> tag
  • For bloggers you can go to template and edit html and search for <head> and place this code after the head tag
  • Like this you can try for any other platform websites like WordPress, html and php website.

If you want to set up new window for some links only. I am giving two examples below to get clear idea about open link in same tab and new tab

See below link if you give link like this it will open in same tab after clicked on it

<a href=”https://www.onlinetipszone.com/” > Online Tips</a>

Now I am giving blank tag to open new tab that you can see from the below code to know how to add or target for new tab

<a href=” https://www.onlinetipszone.com/” target=”_blank”> Online Tips </a>

Like this you can target or set links open in new window, it will give more page views and gives best score in bounce rate

LEAVE A REPLY