OVHcloud Community

Welcome to your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

HTTP > HTTPS Redirect



I have enabled SSL on my domain which is working fine but I’m trying to redirect all http traffic to https. I’ve read this guide ( and added the following to the .htaccess in my root folder but it’s not working.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R,L]

I suspect I just need to restart apache but I can’t see how to do that. Can anyone tell me what I’m doing wrong please?