Update and rename .htaccess.txt to .htaccess
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Tüm trafikte HTTPS'ye yönlendirme
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.html -f
|
||||
RewriteRule ^(.*)$ $1.html [L]
|
||||
|
||||
ErrorDocument 404 /not_found_page.html
|
||||
Reference in New Issue
Block a user