Redirecting Your Domain From HTTPS To HTTPS Using .htaccess In Cpanel

Redirecting your domain from https to HTTP using .htaccess in cPanel.

This article will show you how to use cPanel's file manager to force redirect all traffic coming over HTTPS:// to HTTP:// via your .htaccess.

  1. Log into Cpanel
  2. Click the File Manager icon.

  3. At the top right, click the Settings button.

  4. Check the Show Hidden Files (dotfiles) box and click Save

  5. Now, you have to locate the .htaccess file for the site you want to apply the redirect too. In most cases, it will be located in the public_html folder so we will double click that.

  6. From here, find your .htaccess file, right click it and click Edit.

  7. Now, at the top of the file, copy and paste the following code:

    RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    Like so,

  8. Lastly, click Save Changes at the top right.

Going forward anytime someone visits your site using https:// they will be redirected to https://.