diff --git a/html/.htaccess b/html/.htaccess index 179f476..ed630c2 100644 --- a/html/.htaccess +++ b/html/.htaccess @@ -1,9 +1,12 @@ AddType audio/mp3 .mp3 RewriteEngine On -#RewriteCond %{HTTP_HOST} ^alquran.cloud$ [OR] + + RewriteRule .* - [F] + +RewriteCond %{HTTP_HOST} ^alquran.cloud$ [OR] RewriteCond %{HTTP_HOST} ^www.alquran.cloud$ -#RewriteCond %{HTTPS} off +RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://alquran.cloud/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d