MediaCenter Customer Knowledge Base

Our site aims to provide you with an easy way to use MediaCenter's services, with a database that is easily accessible and browsable at any time.

How to set my website to automatically load with the HTTPS:// prefix

How can I make all httpl URLs on my website redirect to the ssl address without www (https://domain.hu)?

You need to copy (or modify) a .htaccess file to the root of the directory with the same name as the domain name. At the very top of the file should be:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

How can I make all http URLs on my website redirect to the ssl but www (https://www.domain.hu) address?

You need to copy (or modify) a .htaccess file to the root of the directory with the same name as the domain name. At the very top of the file should be:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://www.%{SERVER_NAME}%{REQUEST_URI} [R,L]