There’s a cool new feature in Plesk ll.5 that provides a “canonical rewrite rule” that you can turn on off from the panel. To find the setting, login to Plesk, drill down on your domain and go to:
Websites & Domains -> Hosting Settings
Notice the “Preferred domain” field.
There are three options for this field:
“None” – do nothing
“domain.tld” – redirect to remove the www
“www.domain.tld” -redirect to add the www
Just set this field to your preference and Plesk will configure the appropriate rewrite rule in Apache.







2 Responses
I have spent over a day trying to solve a wordpress redirect loop. So much info out there – none of it correct for me until now. Thank you so much for the info above. If you are using wordpress and plesk 11.5 then change this setting to “none” otherwise if you choose to have your domain go to the www version of it in ‘general settings’ in Worpdress there will be a redirect loop. Setting the option described above to “none” solves the issue.