URL rewrite in IIS7: make foo.com/bah/ redirect to example.com/foo/bah/
February 10, 2009 12:10 PM Subscribe
Help me with a URL rewrite in IIS7
posted by furtive to Computers & Internet (3 answers total)
I want to implement a rewrite in IIS that would allow the following without having to create a new rule for each one.
www.foo.com/books/ redirects to www.example.com/foo/books/
www.foo.com/films/ redirects to www.example.com/foo/films/
www.foo.com/etc/ redirects to www.example.com/foo/etc/
www.foo.com/etc/etc/ redirects to www.example.com/foo/etc/etc/
I am familiar with the steps in using url rewrite module in IIS7
if that makes passing on instructions a bit easier.