Redirect HTTPS to HTTP on a cPanel Host

Last updated: Omid Bodagh General No comments 1 minute read

For this, open the .htaccess file on your cPanel host and place the following code inside it.

# Redirect HTTPS to HTTP
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

I am an SEO specialist who likes helping businesses get seen on Google. From WordPress to SEO, whatever an online business needs to grow, I can help with it.

Leave a comment