Skip to main content

Make Links Open In A New Window

If you design your blogs, as I do, with lots of links to other blogs and web sites, you probably like to make the links to the other blogs and web sites open in a new browser tab or window (depending upon reader preference). That helps with reader retention (for you), and increases convenience (for your readers).

Unfortunately, in too many of the Blogger GUIs, there's no selection for "Make links open in new window". If you want all links in your blog to open in a new window, you can do this with a simple template change (but do this with discretion). If you want specific links to open in a new window, you may have to code each link individually.

Here's a link to this post.
Make Links Open In A New Window

<a href="http://blogging.nitecruzr.net/2009/02/make-links-open-in-new-window.html">Make Links Open In A New Window</a>

the coding change isn't complicated
Make Links Open In A New Window

<a href="http://blogging.nitecruzr.net/2009/02/make-links-open-in-new-window.html" target="_blank">Make Links Open In A New Window</a>

Alternately, if you are creating / editing in Compose mode, when you add or edit a link, simply select the option
Open this link in a new window.
in the "Add link " wizard.

Comments

Michele said…
Thank You....I will try this out. I was trying to figure out how to this!
Alain-Christian said…
You could at least have given me credit for the idea of asking people to use the wishlist.
Chuck said…
Alain,

Ever moderate comments, in a hurry?

Once you hit the "Reject" link, even in mistake, there's no way to get a comment posted.

Post your comment again, and I'll try. But post it under a relevant post, not "Leave Comments Here", please. LCH is a catch all, and is a crappy place for specific comments.
mariposatells said…
This is a nice blog...and I am so happy to get here! Initially, I was only looking for a way to let link in my sidebar open in a new window bec those are links to site I read/visit...and the layout of Blogger does not let me do it...bec all it allows me to do it enter the name and the link...I wouldn't mind doing the manual coding for specific links...yet this seems to work for me!

I will try to make a echo post...and will link you...there are more meaningful post here...and I heart this site already!

Thanks again!
B.Tech ebooks said…
thanks its working
Wenny said…
Hi there, how can I add this to embedded picasa photo album html to make it open in a new window?
Chuck said…
Wenny,

If the embedded album includes "<a href="whatever">", add the " target="_blank"" as specified above.

If the embedded album runs using JavaScript, you can't control it this way.
Darren said…
Perfect. Thanks!
Keez said…
hi,

so i understand how i can change this for each link, but how do i do it so that every link in my blog opens in a new page?

thanks
Chuck said…
Keez,

If you want all links in your blog to open in a new window, you can do this with a simple template change (but do this with discretion).
Alain-Christian said…
@Keez
That's a really, really, really bad idea. Your visitors are gonna hate you.
Cloudnein said…
Oh this is fantastic. I think one of the main reasons I am losing readers because my links navigate to another page rather than opening a new window. Love it, thankyou so much!!
skmania said…
ya nice help..its working ..great job...
Punts de vista said…
Really?
Attribute "TARGET" is not allowed in tag: A
Chuck said…
Really?

Would I lie to you?

Look above.

"the coding change isn't complicated

Make Links Open In A New Window"

click on "Make Links Open In A New Window", and see.
Winipulator said…
This was very useful, tested and works on my own blogger. Thank you.
Katie said…
Is there a way to put the HTML in the post template?
Chuck said…
Is there a way to put the HTML in the post template?

Yes. When you customise the "Home" / "Newer Posts" / "Older Posts" links, you do that.
Ali said…
This is very helpful, thanks. Is there a way to do the global change in the header so that all links open in a new page, AND TEHN individually make certain links NOT open in a new page? I have hundreds of links on my website to events, etc. that I would like to open to new pages, but the links within my blog (comparatively few) I would like not to open in a new window.
Sonya said…
Nice, thank you. That was easy.
You're brillant. Thank you. It work easily for me :-))
Worked like a charm! Thank you!

www.ashleysdesignstudio.com
beckbecca said…
I understand how to open a new window for each link, but now my "Newer Post, Home and Older Post" are also opening a new window. How can I still open new links without those three?
Chuck Croll said…
Becca,

Did you use the "all posts" new window tweak? If so, this is why. If you used the "all posts" tweak, then all links will do this - including "Newer Post, Home and Older Post".

Popular posts from this blog

Custom Domain Migration - Managing The Traffic

Your blog depends upon traffic for its success.

Anything that affects the traffic to your blog, such as any change in the URL, affects the success of your blog. Publishing the blog to a custom domain, like renaming the blog, will affect traffic to your blog. The effects of the change will vary from blog to blog, because of the different traffic to every different blog.Followers. People who find your blog because of recommendations by other people.Search engines. Robotic processes which methodically surf your blog, and provide dynamic indexing to people who search for information.Subscribers. People who read your content from their newsfeed reader, such as the dashboard Reading List.Viewers. People who read your content from their browser.No two blogs are the same - and no two blogs will have the same combinations of traffic sources.

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.