How to redirect specific pages in IIS or Apache

If you want to redirect all visitors from to

Here is what will help if you need to redirect a dynamic content.

Open your web.config file and add the following to it (Make changes to the path= and destination= information)

<location path="">


<httpRedirect enabled="true" destination="" httpResponseStatus="Permanent" />



The same option in .htaccess file would be