Welcome to WebmasterWorld Guest from 184.72.177.182

Message Too Old, No Replies

Redirect in JavaScript

How it impacts in Google

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

New User

10+ Year Member

joined:Feb 13, 2004
posts:13
votes: 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,

Astor

MickJWEB

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

Inactive Member
Account Expired

 
 


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)

New User

10+ Year Member

joined:Apr 8, 2003
posts:19
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 19, 2003
posts:859
votes: 3


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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 5, 2002
posts:1378
votes: 0


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

New User

10+ Year Member

joined:Nov 21, 2003
posts:15
votes: 0


How does the javascript rederict at wwwDOTprokmuDOTcom look like?

does anyone know.

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

New User

10+ Year Member

joined:Feb 13, 2004
posts:13
votes: 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)

New User

10+ Year Member

joined:Apr 8, 2003
posts:19
votes: 0


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