From 5182549f372178a934782b90ab22fd03c5d68f37 Mon Sep 17 00:00:00 2001 From: Wruczek Date: Sun, 6 Nov 2016 00:00:18 +0100 Subject: [PATCH] htaccess changes - As it caused many problems, redirections that remove .php and .html at the end will not be forced anymore - Changed html lang to EN --- .htaccess | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.htaccess b/.htaccess index 7db19f5..0867764 100644 --- a/.htaccess +++ b/.htaccess @@ -7,23 +7,17 @@ Options -Indexes SetEnv HTACCESS on -ErrorDocument 403 " 403 - Forbidden

403 Forbidden

Access to this page is forbidden.


←   Go back
" +ErrorDocument 403 " 403 - Forbidden

403 Forbidden

Access to this page is forbidden.


←   Go back
" -ErrorDocument 404 " 404 - Not found

404 page not found

We couldn't find what you were looking for.


←   Go back
" +ErrorDocument 404 " 404 - Not found

404 page not found

We couldn't find what you were looking for.


←   Go back
" -ErrorDocument 500 " 500 - server error

500 server error

Something went wrong. Try again later.


←   Go back
" +ErrorDocument 500 " 500 - server error

500 server error

Something went wrong. Try again later.


←   Go back
" #RewriteEngine On -# REDIRECTING FROM lol.com/page.php or lol.com/page.html to lol.com/page -RewriteCond %{THE_REQUEST} \ /(.+)\.php -RewriteRule ^ /%1 [L,R=301] -RewriteCond %{THE_REQUEST} \ /(.+)\.html -RewriteRule ^ /%1 [L,R=301] - # PAGES WITHOUT .PHP AT THE END RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f