Welcome to WebmasterWorld Guest from 54.162.141.212

Message Too Old, No Replies

Redirect in JavaScript

How it impacts in Google

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

10+ Year Member



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,

Astor

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

10+ Year Member



how is the structure?
- 1 page that redirects to one or another?
or
- 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)

10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



Unless of course Google Guy reads this and decides to remove it :)
5:45 pm on Mar 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it is his site ;)
6:26 pm on Mar 21, 2005 (gmt 0)

10+ Year Member



How does the javascript rederict at wwwDOTprokmuDOTcom look like?

does anyone know.

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

10+ Year Member



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)

10+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month