Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

My Home page has javascript - Is this the issue?

         

JPcinemamaster

5:20 pm on Jan 31, 2007 (gmt 0)

10+ Year Member



Hello, I have my website running for more than month now. Unfortunately, Google hasn't found it yet--not one page. My homepage has Javascript. Is this the reason why my site hasn't been indexed?
Yahoo has indexed some of my pages already. Is Google very different from Yahoo?
It's very fustrating because the Google Search I added to my site cannot find any of my pages. I wonder if I can do more? Thanks in advance guys.
*JP

BeeDeeDubbleU

5:42 pm on Jan 31, 2007 (gmt 0)

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



By far the best way to get Google to index your website is to get inbound links from other site(s) that are already in the index and preferably that have a reasonable PR.

tedster

5:50 pm on Jan 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The presence of some javascript on a page is not an obstacle to getting that url indexed by Google. Definitely look elsewhere for the issue, especially look to inbound links (as BDW mentioned) and time, plus sound code and server responses.

Lot of good information in this thread: Filters exist - the Sandbox doesn't. How to build Trust [webmasterworld.com] -- as well as in other thread that are listed in the "Hot Topics" at the top of the Google forum's index page.

Is Google very different from Yahoo?

Oh my, yes -- and especially for relatively new sites.

LifeinAsia

6:18 pm on Jan 31, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



It depends on what kind of JavaScript your page has. Is all your site's functionality or navigation built with JS? If so, then you may definitely have problems. If the JS is more for window dressing, then you shouldn't have a problem.

Turn off JS in your browser and go through your site. Make sure nothing is broken and you can get to all the pages. If all is well, then JS is not the issue. If/when you find something wrong, fix it.

JPcinemamaster

12:34 am on Feb 1, 2007 (gmt 0)

10+ Year Member



thanks for the replies. I'm a noob so what are inbound links? For the homepage, almost all the links for the internal pages are in JavaScript. I don't have much content on the homepage, mostly images. I'm thinking about redesigning the homepage to have more content and html links. Will this help?

LifeinAsia

12:40 am on Feb 1, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Inbound links- links from other sites linking to your site. Think of them as votes for your site. If no one else is interested in linking to your site, Google isn't very interested in linking to it either.

Changing the links to HTML and adding content should definitely help.

tedster

1:02 am on Feb 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For the homepage, almost all the links for the internal pages are in JavaScript. I don't have much content on the homepage, mostly images. I'm thinking about redesigning the homepage to have more content and html links. Will this help?

Yes on all counts. You can have javascript attributes in the anchor element (onmouseover and so on) as long as the href attribute is a straightforward url, and not the output of some javascript function. Still, your best approach is to put text into the anchor elements, rather than images of text. Then you can use CSS a:hover rules rather than javascript onmouseover behaviors.

Text in an anchor tag is an important scoring factor, both for the url where it appears and for the target url of the link. Regular text on the page is also important for ranking, although not so important as anchor text.