• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

How can we make all website requests go to www.xxx

Hello,

You will have to setup the redirection in .htaccess file for your domain so that all traffic will be redirect to www
 
Hello,

You will have to setup the redirection in .htaccess file for your domain so that all traffic will be redirect to www
 
Thank you for your response InderS. I added this in .htaccess:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 (L)
but that is not working. Can you possibly help me with what is wrong with that? In the error_log I see
Code:
[Wed Jun 18 13:14:52 2014] [alert] [client 111.222.333.444] /var/www/vhosts/domain.com/httpdocs/.htaccess: RewriteRule: bad flag delimiters
I hope that helps identify what I have done wrong?
 
Back
Top