RewriteEngine On RewriteCond %{HTTP_HOST} ^innovativetechsolution\.in [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://innovativetechsolution.in/$1 [R,L] <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] Header always set Content-Security-Policy "upgrade-insecure-requests;" </IfModule> RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-SSL} !on RewriteCond %{HTTP_HOST} ^innovativetechsolution\.in$ [OR] RewriteCond %{HTTP_HOST} ^www\.innovativetechsolution\.in$ RewriteRule ^/?$ "https\:\/\/innovativetechsolution\.in\/" [R=301,L] # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php74” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php74 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit