Domanda

Hi I have a homepage that is just now working with google. When I type following into a google search box "site:http://www.nameofmysite.com", I get Page not found. Google is not able to index a single page in my whole site. I have many pages in my site.

However if you just browse my site it looks good, things are working nicely. I have a MVC 3 site, I have made it multilanguage and the language parameter en, sv, es etc, is reflected in the url, something like www.nameofmysite.com/en/ContactMail

I'm not posting any code, since I do not know if the problem lays in the code or something else. If anyone would like me to post code, then please let me know.

Hope someone can shed some light on to this.

Thanks.

È stato utile?

Soluzione

I have had my questions answered in another thread. International version of NerdDinner

The problem was that in my basecontroller and global.asax file I had some code that was returning null values if fetched by google bot.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top