Does client-side JavaScript act like a 301?

Ash Nallawalla

9 September 2007

SEO

Before you shoot me for saying that, take a look at the following SERPs for apcug.org (I am on its board but not involved with the decision that moved it to apcug.net two years ago) and check the total page count in the index:

Compare with the results for apcug.net

The Google and Live results show the same count for .net and .org, which is unlikely. Yahoo’s results are quite different and more likely to be accurate.

The webmaster of the day had placed a client-side JS “location.replace” statement in index.htm of the .org, but that should be invisible to the spiders, right? There is no meta refresh in the page or a 301 via other means. The .org page returns a 200 header response, as it should.

Why are G and L showing the same indexed page counts for .org and .net?
Please comment.

Ash Nallawalla

Search strategist experienced in large, complex websites. Ash's Google+ profile

Related Posts

SEO Implications of Google Ads’ New Exact Match

Ash Nallawalla

4 December 2018

PPC, SEO

Feel free to share...FacebookTwitterGoogle+RedditStumbleUponLinkedinemailBrad Geddes has published an excellent post entitled “Exact match is no longer exact match – are you managing the changes correctly?” Although it is about PPC, can SEOs learn from it? It is a timely reminder for those of us in SEO and content writing to be aware of Search Intent versus Keyword […]

Read More

Subdomains treated like subdirectories?

Ash Nallawalla

27 May 2018

SEO

Feel free to share...FacebookTwitterGoogle+RedditStumbleUponLinkedinemailI saw a Facebook reference to an article on SEJ that “Google treats subdomains and subdirectories the same“. It caught my eye because of something  I experienced recently. Feel free to share...FacebookTwitterGoogle+RedditStumbleUponLinkedinemail

Read More

Older Posts