Redirecting your site to HTTPS

Automatically send all visitors to the secure address.

SSL and security ~1 min read Updated: 30.09.2026

Once SSL is active, redirect visitors from http:// to https://.

Via DirectAdmin

Under Security → SSL Certificates (or Domain Setup), enable Force SSL with https redirect.

With .htaccess

Add this to the top of public_html/.htaccess:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
In WordPress, also set both addresses to https:// under Settings → General.
Problem not solved?

Our team is here 24/7 — open a ticket or write to the AI Advisor.