Back to website
Login
Home
Login
Register
Back to website
There was a problem loading the comments.
Force https via htaccess
Support Portal
»
Knowledgebase
» Viewing Article
Print
08/21/2026 3:45 PM
Linux, apache, php, mysql
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*)
https://%{SERVER_NAME}/$1
[R,L]
Share via
Related Articles
Force HTTPS - Plesk
Changing php.ini directives via .htaccess
Force WWW or non-WWW
Categories
15
Billing
2
Directadmin
12
Domains
18
General Information
1
Glossary
56
Guides
1
— Backups
32
— Email Clients
1
—— Microsoft Mail
11
—— Microsoft Outlook
3
—— Mobile Devices
11
—— Mozilla Thunderbird / Lightning
8
— Getting Email Headers
5
— Scripts
1
—— Joomla
3
—— Wordpress
24
Linux, apache, php, mysql
7
Plesk
4
Spamexperts
3
Tiny Tiny RSS (RSS reader)
2
WHMCS
2
— Addon Modules
2
—— Staff Knowledgebase
6
Windows
4
Wordpress
6
Zimbra
Tags
addon
certificate
connection
deleted
directives
Elementor
error
footer
header
install
php
php.ini
restore
settings
thunderbird
tls
tls 1.2
upgrade
user.ini
whmcs
© Cooini, LLC
English