0
votes

I am developing an asp.net 4.0 website in 4 languages. So I used an URL rewriter.

I have a mapping table in the db where I say that for home.aspx take for english Home, for another language AnotherLanguageHome and so on.

So when the page starts it checks what page it is and what culture language and replaces the *.aspx with the correct page name from the db. If the url would be www.mysite.com/Home.aspx it will become www.mysite.com/Home or www.mysite.com/FrenchHome or www.mysite.com/DutchHome and so on.

So my question is, when I create the sitemap xml file (or the robots.txt), do I have to have all the possible pages in it (www.mysite.com/Home; www.mysite.com/FrenchHome; www.mysite.com/DutchHome, and so on) or just www.mysite.com/Home.aspx?

Or is there another aproach for this?

1

1 Answers

0
votes

Yes. You should include every page you want to be indexed by the search engines. If you have different URLs for different languages then those URLs must be included as well.