Created
July 19, 2013 10:11
-
-
Save aramboyajyan/6038131 to your computer and use it in GitHub Desktop.
Web.config redirect to another URL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<httpRedirect enabled="true" destination="http://www.example.com/" /> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you but unfortunately, you will lose your current folder and query string values with this.Try this gist: http://bit.ly/1Qenjmk