JavaScript back buttons & SEO don’t mix

by Patrick Altoft on May 26, 2009

Have you ever seen a website with a “Back to search results” button or something similar? These links normally take you from a product or destination page back to the search results or category page where you came from. Here’s one for you to try.

At least that’s the idea.

In the real world what the developers who make use of onClick=”history.go(-1) are doing is making an assumption that you made your way to the current page in the exact manner that they intended you to.

I can’t count the number of times I’ve arrived at a website via Google to be confronted with a back button which takes me straight out of the site and back to the search results.

Top tip – never use the JavaScript back button.

Patrick Altoft is Director of Search at Leeds based digital & SEO agency Branded3. Patrick also runs Blogstorm.

You can get our blog posts delivered for free by email every day - simply add your email address to the box below or alternatively grab the RSS feed.

Read some similar posts

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

{ 5 comments… read them below or add one }

venkat 26 May 2009 at 1:33 pm

It is not recommendable also to use java script back button because we want to turn new visitors to blogs into regular readers this javscript doesn’t help that way.

Jeet 26 May 2009 at 2:42 pm

Good tip! I don’t go for ‘back’ as anchor text, I prefer post / article titles in anchor texts.

Mário Andrade 26 May 2009 at 4:43 pm

I find that a big problem not at the development stage but while doing the information arquitecture of a website.

Many times the concept is explained as “this is a back button” when instead people should explain that that certain button will lead the user to a specific page.

gs 29 May 2009 at 7:08 pm

I think the back button is supposed to take you back one page. If you don’t intend to return to where you arrive from then why not hit the home link or products or something similar. In my dev world ‘back means back’

Bradley Gauthier 31 May 2009 at 5:41 pm

One feature I like instead of the back button is to have a breadcrumb trail at the top of each page.

{ 1 trackback }

Wednesday Online Marketing Wrap Up - May 27th 2009 | SEO & Online Reputation Management Blog | One Result
05.27.09 at 5:15 pm

Leave a Comment (registration is optional)

Registration is free, takes about 5 seconds and is worth doing.

You can use these HTML tags and attributes:
<a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>