I have a .Net website. for example- www.Example.com
My problem is,if I type "Example.com" then the address bar shows the url as "http://www.example.com/index.aspx"
but if I type "www.Example.com" ,the address bar shows the url as "http://www.example.com"
I don't want to show the file name and its extension in the home page.
How to do that?
Thanks in advance.
raja
[edited by: Webwork at 12:18 pm (utc) on Mar. 23, 2009]
[edit reason] Per Domain Forum Charter - example domains are exemplified by using Example.com [/edit]
Change the redirect so that the filename is not included.
Additionally, add another redirect such that if the index filename is included in any request you redirect to strip it out. That redirect must also force the www for those requests at the same time, and make sure that it goes before your general non-www to www redirect.