JavaScript back buttons & SEO don’t mix

  • 1
  • May 26, 2009
Patrick Altoft

Patrick Altoft

Director of Strategy

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.