Is window.location.href = 'some_page.html' followed by search engines?

Posted by Arkaaito on Stack Overflow See other posts from Stack Overflow or by Arkaaito
Published on 2010-04-02T20:27:19Z Indexed on 2010/04/02 20:33 UTC
Read the original article Hit count: 227

Filed under:
|

Currently our website uses links to allow the user to change their locale. The problem with this is that you get a lot of random outlinks from each page on the site to... the same page, in other languages. When a search engine traverses this, it gets an excessively complex view of the site.

We were going to change it to a form post to avoid this. However, it seems to me that we should just be able to change it to an onclick="window.location.href='change_my_language.php'" rather than an href="change_my_language.php". Am I right? Or do the major search engines scan for and follow this sort of thing nowadays?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about seo