How to Make All Blogger Links Open in New Windows

All Links Open in New Windows:

This request to make all hyperlinks pops up every now and then so might as well make a post for it.
To make all links open in new window is amazingly simple. Just sign into

Blogger DASHBOARD > DESIGN > EDIT HTML

to open template editor

Use keyboard shortcut   ctrl+F to find   <head>

and immediately after that, add a single line   <base target='_blank' />    so that it become

<head>
<base target='_blank' />


Save the edited template and viola, all links in your blog will now open in new tabs or windows.



Note 1:
Blogger is now XHTML so all tags must have matching closing tags or be self closing. The above tag is self closing because it has that forward slash / at the end of the tag.

Note 2:
Just wondering if adding a note for frequent visitors to set browser to open in new tabs rather than new windows will reduce the number of visitors having an unmanageable numbers of new windows opened. Do leave your opinions in the comments below:

Note 3:
Some bloggers may prefer some links not to open in new window/tab but to open in the same window, Nute gave this tip to add the attribute target="_self" for those links you want to open in the same window/tab.


.

How to Make All Blogger Links Open in New Windows

Labels:

Post a Comment

[blogger][disqus][facebook][spotim]

Author Name

{picture#https://instagram.fbom1-2.fna.fbcdn.net/t51.2885-19/s150x150/17662158_221658868312088_138323287238246400_a.jpg} Hi, I am Swapnil Zambare. I love to explore Computer and Internet. My aim is to spread tips and tricks related to Hacking, Computer, Android phones, Blogging, SEO, Social networks and many mores all over the world for free so that every one can enjoy our Premium Services for Completely Free. {facebook#https://www.facebook.com/SwapnilTech} {twitter#https://twitter.com/swapnilzambare7} {google#YOUR_SOCIAL_PROFILE_URL} {pinterest#YOUR_SOCIAL_PROFILE_URL} {youtube#YOUR_SOCIAL_PROFILE_URL} {instagram#https://www.instagram.com/theswapnilzambare/}

Contact Form

Name

Email *

Message *

Powered by Blogger.