Forum Moderators: open

Message Too Old, No Replies

Js redirect

doubt about the effect of a redirect in links

         

Digimon

2:25 am on Jul 16, 2002 (gmt 0)

10+ Year Member



I've got a home page with a js redirect by two reasons:
1. Because we need to test the type of connection of our visitors and redirect them to the appropriate page.
2.Also we need to discrimine the IPs of our especial users, wich use a particular interface, and redirect them.

I have added some content to the first home page and it has been sucesful indexed but the pages wich are linked from that homepage haven't been.

Does anybody knows any reason to it?

Thanks

[edited by: Marcia at 3:37 am (utc) on July 16, 2002]
[edit reason] simple typo fixed [/edit]

keyplyr

3:11 am on Jul 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




You didn't mention which SE or Directory indexed the first page and not the second, but one reason may be due to the fact that robots/crawlers do not follow JS; at least that's the popular opinion. Why not hard code a link to your second page.

Marcia

3:43 am on Jul 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Another consideration is whether the navigation/redirection will work if the site visitor has JS disabled, which some do.

haryanto

5:37 am on Jul 16, 2002 (gmt 0)

10+ Year Member



Hi there.
If you are talking about google I read somewhere that google ignores Javascript completely so if you have a page which uses JS redirect do provide a link to your main site using notmal link in the BODY.

enotalone

1:48 pm on Jul 16, 2002 (gmt 0)

10+ Year Member



Digimon, if you want to use js for the logic to determine IPs, speeds etc. is fine, but why not use server side redirect after you know where the visitor has to be redirected. You can do this i guess by passing a variable containing redirect page value to php's header location function and be on the safe side with googlebot.

Digimon

5:25 pm on Jul 16, 2002 (gmt 0)

10+ Year Member



The SE is Google, in fact I wanted to post this message in Google forums. Maybe my explanation havenīt been clear enough. The fact is Googlebot has indexed the content of my home page (with the js redirect) and it appears in his index but ther Bot hasn't followed the links in the page. In fact he has explored the rest of the site except the pages are linked from the page with the Js.

Any more thoughts?

tedster

5:55 pm on Jul 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you saying that the home page Google indexed can ONLY be reached through the javascript redirect? That seems unlikely to me - more likely, there's also a direct link, out on the web someplace, that goes directly to that page.

Digimon

7:19 pm on Jul 16, 2002 (gmt 0)

10+ Year Member



Not, what I'm saying is that I've got a page A. A is my index1, the first page wich opens when you reach my site. In this page I've got the redirect to my real home because the reasons explained before. A weeks ago I added some content in page A. In that content there were html links to some new SE optimized pages. Well the page with the redirect has been spidered but the linked to optimized pages haven't been followed. The rest of my site has been sucesfully indexed. It's true that the only way to spider the SE optimized pages is trough the links in the home but I can't understand why google hasn't followed the links..

That's the question.

keyplyr

8:45 pm on Jul 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Ohhhh.... give it another month or two.

Digimon

8:50 pm on Jul 17, 2002 (gmt 0)

10+ Year Member



Well, I'll wait until the next crawl.
Thanks