There was a problem loading the comments.

How to set URL redirection in Windows Hosting (Plesk)

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
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.

  1. First, browse to the Website Plesk Panel and login using the Plesk Username and Password;
  2. On the Plesk Panel, click into File Manager
  3. Click on web.config to edit as code
  4. Place the redirection code as per below in between "<system.webServer>" and "</system.webServer>". Modify the URL to your designated website. See Example below;
  5. 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>
-------------------------------------------------------------------------------------------------

Share via
Did you find this article useful?  

Related Articles

© SecureAX Pte Ltd