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

Visit PubCon.com
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

Redirect in JavaScript
How it impacts in Google

 7:06 pm on Mar 17, 2005 (gmt 0)

Hi all,

I read several posts telling that Google is pulling .js files and JS code inside pages.

I have this scenario:
In one of our sites, we have a home page for registered users (we check cookies to know that) and other for 1st time users (users without the cookie).
Based on that cookie, we redirect them with JavaScript to one page or another...

So, the BIG question here is: how could this be interpreted by Google? Can Google read the code and "know" that is has a redirect? Iīm going to be penalized?

thanks in advance,




 3:44 pm on Mar 18, 2005 (gmt 0)

how is the structure?
- 1 page that redirects to one or another?
- one page that tests the cookie and if certain condition is given you redirect to another page (and if not, it shows that default page that has de JS)?


 12:22 am on Mar 21, 2005 (gmt 0)

At the moment you should be OK with javascript redirect. You can also hide / cloak pages and boost your ranking without getting into trouble with google/yahoo/msn. I even have working example (wwwDOTprokmuDOTcom). This site auto-generated ~50000 pages and all pages are hidden with javascript which sends redirect code. If you switch javascript support in mozilla you will see what i am talking about :)
Way to go? :)


 4:25 pm on Mar 21, 2005 (gmt 0)

Unless of course Google Guy reads this and decides to remove it :)


 5:45 pm on Mar 21, 2005 (gmt 0)

If it is his site ;)


 6:26 pm on Mar 21, 2005 (gmt 0)

How does the javascript rederict at wwwDOTprokmuDOTcom look like?

does anyone know.


 6:33 pm on Mar 21, 2005 (gmt 0)

Thanks for the answer MickJWEB.

We have the 2nd scenario you listed. If the condition is false (no cookie value), we show a default page (with no customization to the user)

... and plz... donīt hijack this thread ;)


 11:24 pm on Mar 21, 2005 (gmt 0)

But hey! this is the best & fastest way to achive top 10 results in google / yahoo / msn (check site title for keywords) :)

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