Error while adding redirect (301) rule on Cpanel to force ssl

User1984 59 Rep.

I am new to server and cpanel. I have successfully purchased and installed ssl certificate on my domain. Now when I try to add redirect (301) for http to HTTPS for all traffic under cpanel its giving error ” The is error in Apache rule while processing your request”.

Kailash answered
Kailash 152 Rep.

Try redirecting using .htaccess rewrite rule:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R,L]

Kailash answered


Login to see your profile links
Bloom Email Optin Plugin