How to set URL redirection in Windows Hosting (Plesk)
- 13/08/2018 10:38 PM
If you are undergoing a website change or change your business at a new URL, you can setup URL redirect to forward your domain to another domain using the following method.
- First, browse to the Website Plesk Panel and login using the Plesk Username and Password;
- On the Plesk Panel, click into File Manager
- Click on web.config to edit as code
- Place the redirection code as per below in between "<system.webServer>" and "</system.webServer>". Modify the URL to your designated website. See Example below;
- Save the web.config file. Refresh your website and the redirection shall take place immediately.
EXAMPLE SCRIPT
-------------------------------------------------------------------------------------------------
<system.webServer>
<httpRedirect enabled="true" destination="http://www.your_new_url.com/" httpResponseStatus="Permanent" />
</system.webServer>
-------------------------------------------------------------------------------------------------