From e09edb96aa542ec3238de8a236dc61f7e4bf8bba 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