Redirect Website to HTTPs

To redirect your website to HTTPS. Enter the following to your .htaccess file.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Save the file, then test via your browser.
  • 98 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Seotud artiklid

How to generate a CSR in cPanel

The following instructions are for cPanel 11. If you have a different version of cPanel, you will...

Shared SSL FAQ

- What is a shared SSL?A special type of SSL that can be used across all of Warez-Host's shared...

Dedicated SSL FAQ

- What is a dedicated SSL?The most common type of SSL that allows your domain to display inside...