Here is how to redirect a web site to another location using web.config in ASP.NET:
1: <?xml version="1.0" encoding="UTF-8"?>
2: <configuration> 3: <system.webServer>4: <httpRedirect enabled="true"
5: destination="http://www.digitalhoneycomb.com"
6: exactDestination="true"
7: httpResponseStatus="Permanent" />
8: </system.webServer> 9: </configuration>
No comments:
Post a Comment