Results 1 to 2 of 2

Thread: 404 error for robots

  1. #1
    User
    Join Date
    12-09-09.
    Location
    Russia, Moscow
    Posts
    48

    Default 404 error for robots

    Hi!
    I have some troubles with search and other bots...

    In server access log i see
    Code:
    95.108.129.207 - - [30/Nov/2010:15:13:44 +0300] "GET / HTTP/1.1" 404 26 "-" "Mozilla/5.0 (compatible; YandexMetrika/2.0; +http://yandex.com/bots)"
    and in Contao log
    Code:
    No root page found (host "ogolego.ru", languages "")
    PageRoot generate()
    95.108.129.207
    Mozilla/5.0 (compatible; YandexMetrika/2.0; +http://yandex.com/bots)
    Looks like Contao didn't know what do with requests like GET / from user-agents without defined language like
    Code:
    213.141.154.168 - - [30/Nov/2010:15:11:00 +0300] "GET / HTTP/1.1" 200 25798 "-" "Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.6.30 Version/10.63"
    So, i can't understand what is what, how to fix that, and need help from community

    Thank's,
    Paul

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: 404 error for robots

    Hi Isgaard,

    the problem relates not only to search engines and bots, even if I load the page in question I get an "No pages found" error message.

    You have to set up in the back end module "Site structure" a page of type "Website root". In the section "DNS settings" check the field "Language" and of course you have to enable also the checkbox "Language fallback" for this website root.

    Google (and many other crawlers/bots) speaks English!
    Contao Community Moderator
    → Support options

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •