Home > Programmatie > Website not found by Google

Website not found by Google

January 12th, 2009

Last week I wanted to check how our latest project, Traiteur Patrick Costers, was doing in Google. The first result was the portfolio page here at CryptoNet. So far so good? I would rather have my clients url at first place than our project page. But this was the beginning of a long quest. Not one url was found in Google.be (Dutch):

traiteur-patrick-costers-in-google

traiteur-patrick-costers-in-google

I did a quick research in Google Webmaster Tools and where I found that the website wasn’t accessible by the Google bot. I fired up the local version on my notebook, expanded the Symfony debug toolbar and indeed, the HTTP headers responded with a 404 Not Found. Appearantly  I was forgotten to change the error404 action in the settings.yml. So I changed it to:

.actions:
default_module:         default   # Default module and action to be called when
default_action:         index     # A routing rule doesn’t set it

error_404_module:       default   # To be called when a 404 error is raised
error_404_action:       error404  # Or when the requested URL doesn’t match any route

In the executeError404() action of the default module, I did a forward to the index page. The HTTP headers returns a lovely 200 status on the homepage and a 404 one on the non existing pages.

To speed up the Google process, I added a xml sitemap to my Webmaster Tools. What do you do to enhance the “let Google find my new project”-process?

Programmatie , ,

  1. January 19th, 2009 at 16:54 | #1

    A good sitemap (html + xml) and a few backlinks and the site is indexed very fast!

  2. February 12th, 2009 at 22:39 | #2

    I’m also having trouble with google as my web site can not be found.
    I can go to it fine but no search will find it..

  3. March 26th, 2009 at 12:59 | #3

    Len, you can always sign your page up for Google and other search engines. Hope you’ll solve it.

  4. November 24th, 2009 at 08:08 | #4

    Hi,
    Sitemap is very useful for website and goggle easily found website

  1. February 17th, 2009 at 19:40 | #1