This project is read-only.

Crawling Error for Google Webmaster Tools in 2.8

Jul 5, 2013 at 11:24 AM
i found a small issue with crawling and google.

in site.master.cs there is this code:
    if (Request.UserLanguages[0].Contains("de"))
Somehow this call fails for google crawling bots.
The "UserLanguages" Property is null on google calls.

Simply adding if(Request.UserLanguages != null)
solves that issue..............