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
SMTP Authentication via Scripts
Changing php.ini directives via .htaccess
How to create a .htaccess file
Categories
15
Billing
2
Directadmin
12
Domains
18
General Information
1
Glossary
59
Guides
1
— Backups
33
— Email Clients
1
—— Microsoft Mail
11
—— Microsoft Outlook
3
—— Mobile Devices
11
—— Mozilla Thunderbird / Lightning
8
— Getting Email Headers
6
— Scripts
1
—— Joomla
4
—— Wordpress
25
Linux, apache, php, mysql
7
Plesk
5
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