Google Answers Logo
View Question
 
Q: Site Not Appearing on www.google.com ( Answered,   0 Comments )
Question  
Subject: Site Not Appearing on www.google.com
Category: Miscellaneous
Asked by: robreid-ga
List Price: $4.50
Posted: 09 Oct 2002 06:14 PDT
Expires: 08 Nov 2002 05:14 PST
Question ID: 74411
My Clients web address seems wont come up on Google. It was there for
a week and now it has disappeared. Whats wrong. The address it
www.mgmireland.com.
Answer  
Subject: Re: Site Not Appearing on www.google.com
Answered By: missy-ga on 09 Oct 2002 12:29 PDT
 
Hi there!

Having a look at the source code of the page in question, it seems
that the Googlebot isn't finding a valid HTML document, and is simply
leaving without indexing.  This is caused by the use of JavaScript on
the page - search engine spiders can't read JavaScript, so they will
not index pages in which they can't find the HTML content.

Here's what's happening:

"Simply put, the search engines don't like java script navigation
buttons or JAVA applet navigation buttons. Each has it's own set of
problems.

It is important that the search engines are able to get to and index
all of the pages in your site. The more textual content that the
search engines can reach and index, the more traffic they will
generate for you. If you have used JavaScript or JAVA buttons on the
default page of your web site and that page happens to be the URL that
you submitted to the search engines, most search engines will not be
able to crawl past the front page to index the remainder of your
site."

Using JavaScript and Java Buttons
http://www.siteannounce.com/docs/javascript.asp

"Javascript is one of the most common causes of "code bloat". Search
engines usually only read so far down a webpage (remember, the source
code, not the visible page) and if the first half of it is taken up by
javascript they may give up and go away before getting to your keyword
rich text."

Search Engine Friendly Design - JavaScript
http://www.semguide.com/JavaScript.htm

"First, search engines do not process JavaScript, so any content
written by your scripts will not be indexed by a search engine.=A0
This can be a problem if you are using the include file as your main
way of providing site navigation.=A0 Unless you provide another way
for the search engine to see your links, such as using the <noscript>
tag, the search engine will not follow your JavaScript generated links
to subsequent pages."

[Javascript] How can search engines see a js include for navigation?
https://lists.latech.edu/pipermail/javascript/2002-March/003247.html

Clearly, you'll want to have your page written in such a way that
you'll still be visited by the Googlebot (and presumably other
spiders), without sacrificing your (very nice) layout.  So how to fix
this?

The pages referenced above offer several solutions.  You'll need to
tinker a bit to find the one best suited for your needs:

--Put all of your page's JavaScript into an external .js file:

"To create a js file use a text editor and put any javascript code
that you would normally place in the section of your web page into a
separate file. This file should only contain your JavaScript code, no
html. Then on your actual page, you put this in the < head > section:
< Script language="JavaScript" src="filename.js" >
< /Script >"

Search Engine Friendly Design - JavaScript
http://www.semguide.com/JavaScript.htm

--Provide a "hidden link" for search engines to crawl

" To provide the search engines with a hidden link that they can
easily follow to the next page you must first create a 1 pixel by 1
pixel clear GIF image. If you do not know how to do this with the
graphics software that you currently use we have an image below that
you can download to your local machine for use on your web site.

The actual implementation of a hidden link is quite simple and can be
done in a few steps:

1. Copy the 1 pixel by 1 pixel clear GIF image to the "images/"
directory.
2. Determine which JavaScript or JAVA buttons are linked to pages that
have textual content that you would like indexed by the search
engines.
3. Create a hidden link to those pages as follows:
      
We will now create a hidden link to the HTML file called
"products.htm"

* a.) First we will create the hyperlink to "products.htm"

                <A href="products.htm">

* b.) The object we are going to hyperlink is the 1X1 clear .GIF as
follows:

<IMG src="images/clearpixel.gif" width="1" height="1" border="0"
alt="keyword or key phrase">

Note: be sure that you define the pixel to be width of 1 and height of
1. Also be sure not to forget to make the border equal to 0 or you
will have the pixel outlined by the browser.
          
* c.) Close the hyperlink:

                </a>

Here is the full HTML for the hidden link:

<A href="products.htm"><IMG src="images/clearpixel.gif" width="1"
height="1" border="0"></a>

Repeat this for each JavaScript or JAVA button as needed and you are
ensured of a search engine friendly link to that content."

Using JavaScript and Java Buttons
http://www.siteannounce.com/docs/javascript.asp

Additionally, you might try describing your page's content in HTML
comments placed BEFORE the JavaScript, so the spiders can read it,
similar to this:

After this tag:

<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">

...place your comments:

<!-- http://www.mgmireland.com, McColgan Gibson Management, Event
Management Ireland, Dublin, Conference, Meetings, Destination
Management, Corporate Entertainment, Conference Planning, Corporate
Hospitality, Hotels, Exhibitions, Incentives, Christmas Parties,
Weddings, Promotions, promotion, project management, coordination,
coordinator, launches, product, events, corporate hospitality,
conference planning, Christmas Parties, Weddings -->

For other tips and tricks to get your site noticed by the Googlebot,
have a look at Google's Resources for Webmasters:

Getting Listed  
://www.google.com/webmasters/1.html   
  
Google Information for Webmasters  
://www.google.com/webmasters/  
  
Google Webmasters' FAQ  
://www.google.com/webmasters/faq.html  
  
User Support Forum  
http://groups.google.com/groups?q=google.public.support.general

I hope this answers your question!  If you need further assistance,
please don't hesitate to ask.  I'll be happy to help.

--Missy

Search strategy:  checked source, then searched on [ search engines
JavaScript problems ]
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy