From aa28774a0051133f59b4a24b1ea7325f3099058e Mon Sep 17 00:00:00 2001 From: Sveneld Date: Wed, 21 Feb 2024 21:43:15 +0100 Subject: [PATCH] whitebikes.info - htaccess --- .htaccess | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..f500083 --- /dev/null +++ b/.htaccess @@ -0,0 +1,13 @@ +php_flag auto_globals_jit off +RewriteEngine on +RewriteRule ^sms/(.*)$ $1 +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME}.php -f +RewriteRule ^(.*?)/?$ $1.php [L] + +RewriteCond %{HTTP_HOST} ^www.whitebikes.info [NC] +RewriteRule ^(.*)$ https://whitebikes.info/$1 [R=301,L] + +RewriteCond %{SERVER_PORT} ^80$ +RewriteRule ^(.*)$ https://whitebikes.info/$1 [R=301,L] +RewriteRule ^register[/]*$ /register.php