homepage Welcome to WebmasterWorld Guest from 54.205.207.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
Can a javascript redirect can harm my website?
Javascript redirect
Ann4SEO

5+ Year Member



 
Msg#: 3438557 posted 6:40 am on Sep 1, 2007 (gmt 0)

Hello,

As I said in my earlier post, my client site lost its page rank for one of its most important page in April 2007 Update. This page is index page, which comes after a splash page.

From then I am having a constant decline in my hits. After analyzing the website web trends, I came to knew that they have redirected few of the pages from html to asp using a JavaScript redirect.

To my knowledge, I know itís a temporary redirect & this two page html & asp will be consider as two different page. I asked my client to change it to permanent redirect.

They are looking into the same but will take time. From my side, I submitted a fresh Google xml sitemap with asp web pages.

My only question is: Does the site hits decline just because of this javascript redirect and pagerank lost or could be any other reason?

 

tedster

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3438557 posted 4:16 pm on Sep 1, 2007 (gmt 0)

Google is on the lookout for what they call sneaky javascript redirects [google.com], so yes, especially because it's combined with a splash page, this site might have tripped such a flag.

I know itís a temporary redirect & this two page html & asp will be consider as two different page. I asked my client to change it to permanent redirect.

If they intend to go back to the original url, you can use a 302 redirect - that's exactly its purpose.

does the site hits decline just because of this javascript redirect and pagerank lost or could be any other reason?

If PR went down, then the ranking for your key terms may have suffered. Webtrends should be able to tell you. I'd compare search terms bringing in search traffic now, compared to the terms and volume you saw historically.

The javascript is certainly one area to address, but rankings change for all kinds of reasons, including things known only to Google engineers as they test new ways of ranking.

I'd also add that, in my experience, splash pages are almost never an effective way to build a site.

orionsweb

5+ Year Member



 
Msg#: 3438557 posted 6:09 pm on Sep 1, 2007 (gmt 0)

Pages should be redirected using .htaccess files

This code works for linux / apache servers not sure on windows IIS servers:

Create a file in a text editor save it as .htaccess

in the file use one of the two lines below for each page you wish to redirect...

redirect 301 /filename.ext [domain.tld...] # permanent redirect
redirect 302 /filename.ext [domain.tld...] # temp redirect

The 301 is for permanent redirects and the 302 is for temporary redirects (like redirecting index page to a down for maintenance page).

From what I know these are the ONLY acceptable ways to redirect a page which won't (longterm) affect your SERPs.

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3438557 posted 12:39 am on Sep 2, 2007 (gmt 0)

Never redirect the root of a site to a deep internal page on the same domain. Use a rewrite to deliver that content at the root URL.

Ann4SEO

5+ Year Member



 
Msg#: 3438557 posted 5:25 am on Sep 6, 2007 (gmt 0)

First of all thanks to all of you for answering my question.

@tedster
If PR went down, then the ranking for your key terms may have suffered. Webtrends should be able to tell you. I'd compare search terms bringing in search traffic now, compared to the terms and volume you saw historically.

The javascript is certainly one area to address, but rankings change for all kinds of reasons, including things known only to Google engineers as they test new ways of ranking.

I'd also add that, in my experience, splash pages are almost never an effective way to build a site.

In April 2007 update, we lost the page rank but till that time we did not lose any of our rankings. But then slowly we started loosing rankings for few of our keywords. The strange part is that we haven;t loosed search engine referrals. Its increasing every month. But still the total hits are declining.

@orionsweb
This code works for linux / apache servers not sure on windows IIS servers:

The site is running on windows server & also in shared IP addres.. So permanent redirecting is taking its time. Also only few web pages which were in html now redirecting to asp pages. Only these few pages require permanent redirect.

P.S. The client is noway ready to change any of its webpages design.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved