Christmas - Up to 60% off IRC and radio hosting
Knowledge Base / Web Hosting & Servers

Forcing HTTPS on Your Website Using .htaccess Rules in cPanel

Updated 3 December 2026

Ensuring every visitor lands on https:// protects login forms, boosts Google SEO rankings, and prevents mixed-content warnings with your SSL radio player.

Standard .htaccess HTTPS Redirect

Open .htaccess inside public_html via cPanel File Manager and add:

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

Web hosting

From $4.99 per month. See the packages and order online.
See Web hosting

More in Web Hosting & Servers

Automating Website Maintenance Tasks with cPanel Cron JobsUsing cPanel File Manager vs. FTP to Upload Your Radio or IRC WebsiteInstalling WordPress in 60 Seconds with Softaculous on ForceSP Web HostingSpeeding Up Your Website and Hiding Origin IPs with CloudFlare on ForceSPBoosting Search Rankings Using Attracta SEO Tools Included in cPanelWhy ForceSP Includes a Free Dedicated IP Address with Every Web Hosting Plan

← Back to the Knowledge Base