Hello all,
I use a standard web.config file for my projects that are hosted on Windows servers. It takes care of 2 tasks.
1. It redirects the non-www version of the site to the www version.
2. It redirects the index file to the root.
Since I am unsure how to post code here, I will link to it:
http://www.webdeveloper.com/forum/showthread.php?t=244586
This works great, except for 1 problem. The index redirect is redirecting all sub-directories to the main, index.
For example:
http://www.domain.com/index.asp is redirecting tohttp://www.domain.com like it should.
But,
http://www.domain.com/about/index.asp is also redirecting to
http://www.domain.com.
I would like it to redirect to
http://www.domain.com/about/
Any help would be greatly appreciated.