12 Nov 2009
06 Apr 2011
Link to this post
We have simple Sitefinity 3.7 (3.7.2096 if it is important) based site with localization enabled. Home page is set to default.aspx in sitefinity.Thus, after user opened site he/she sees url like this: site.com/en/default.aspx. Now we want to show the url like site.com/en/.
In order to do so, I did the following things:
1. Set default page in sitefinity to ~/default.aspx
2. Created empty default.aspx file in root folder of the site
3. Updated web.config and set redirectToHomePage to false in cms section
4. Added default.aspx to IIS
But this did not help. I tried to disable localization (set persistenceMode to 'None') and default page worked correctly. If localization is enabled, I still got default.aspx in query.
I also checked other sites which my team created with Sitefinity and it seems like this problem is reproducible only on this one.
Any ideas how this can be fixed?