Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to configure a redirect to www and vice-versa for a website on Plesk?
Answer
Note: This option may not work for WordPress based websites and any other websites that have a predefined configuration to use www or non-www in their code. Configure such websites through their administration panel or in configs. Make sure that there are no custom rules in Domains > example.com > Apache & Nginx Settings or in .htaccess on Linux.
- Log in to Plesk web interface as admin user
- Go to Home > Domains> example.com > Hosting Settings
- Set Preferred domain parameter as
www.example.com
Check Hosting Types documentation to find more information about how to handle website's behavior.
Comments
0 comments
Please sign in to leave a comment.