Last post May 29, 2010 03:08 PM by chintanpshah
May 28, 2010 02:22 PM|shbrat|LINK
I have an ASP.Net(2.0) website which I have localized based on user's browser settings. So when a user navigates to my website, I check their browser settings and redirect them.
Here's the code which I have in global.asax
protected void Session_Start(object sender, EventArgs e)
string localeName = ResourceHelper.GetCulture();
string refUrl = HttpContext.Current.Request.Url.ToString();
if (localeName.ToLower() != "en-us")
My problem is that on google, my 404 error page is being cached and the error page title comes up as the search result.
I think because of the way I redirect users, the search crawler gets to the error page instead of the homepage. How can I fix this?
Any help is appreciated. Thanks!
Google cache crawler error 404 localization asp.net global.asax
May 29, 2010 03:08 PM|chintanpshah|LINK
You can use robots.txt to tell google not to include 404 page in search result.
You can use meta tags to block crawler acces to your site.
Also refer to: