10 lines
301 B
Plaintext
10 lines
301 B
Plaintext
# 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
|