From 334a9b1229e990b2b6f4c5fbcb631c354afb3216 Mon Sep 17 00:00:00 2001 From: mxmehl Date: Fri, 26 Jun 2015 17:46:16 +0300 Subject: [PATCH] fix redirection; add FSFE to projects --- .htaccess | 4 ++-- text/links.de.html | 1 + text/links.en.html | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index a935135..5a4ed5a 100644 --- a/.htaccess +++ b/.htaccess @@ -17,9 +17,9 @@ RewriteRule ^(.*) http://mehl.mx/$1 [R=301,L] # Rewrite URL/de to URL/index.de.php RewriteRule ^(..)/?$ /index.$1.php # Rewrite e.g. URL/en/contact to URL/contact.en.php -RewriteRule ^(..)/(.*)$ /$2.$1.php +RewriteRule ^(..)/(.*)/?$ /$2.$1.php # Rewrite empty URL to standard index page -RewriteRule ^$ index.de.php +RewriteRule ^/?$ index.de.php # Rewrite e.g. URL/contact to URL/de/contact and make it visible RewriteRule ^([a-z]+)/?$ /de/$1 [R=301,L] diff --git a/text/links.de.html b/text/links.de.html index 7497175..c144fdc 100644 --- a/text/links.de.html +++ b/text/links.de.html @@ -13,6 +13,7 @@ diff --git a/text/links.en.html b/text/links.en.html index 93d97f2..d3af49d 100644 --- a/text/links.en.html +++ b/text/links.en.html @@ -13,6 +13,7 @@