free Dreamhost SSL

Now, I don’t know if I need to change my .htaccess file to remove the port from the website address or which port to pick for my website. I also have the free Dreamhost SSL certificate enabled, but the website only seems to work currently with http:// requests.

If you requested the SSL certificate via your DreamHost Panel then the system should have updated things for you.

If you want your site to be “HTTPS Only” then insert these directives at the top of your .htaccess file:

RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.