Knowledgebase: Windows Hosting
Redirect a url with IIS URL Rewrite rule in Web.config
Posted by Premium Reseller on 26 March 2013 10:35 PM

Create a web.config file in folder of file you want to redirect.

Content of web.config file:

<?xml version="1.0" encoding="UTF-8"?>
    <location path="old-file-name">
            <httpRedirect enabled="true" destination="http://new-url" httpResponseStatus="Permanent" />

(3 vote(s))
This article was helpful
This article was not helpful