From de4b6a465873b8357283c6fafa29d741cafb7863 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Tue, 8 Dec 2015 10:22:06 +0100 Subject: [PATCH] fix regex --- html/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/.htaccess b/html/.htaccess index 8d8cbd5..aa02c20 100644 --- a/html/.htaccess +++ b/html/.htaccess @@ -2,7 +2,7 @@ RewriteEngine On RewriteBase / RewriteRule ^p/([a-zA-Z]{1,})/(.*)-([a-z]{2})$ index\.php?page=$1¶ms=$2&lang=$3 [L] RewriteRule ^p/([a-zA-Z]{1,})/(.*)$ index\.php?page=$1¶ms=$2 [L] -RewriteRule ^p/(.*)-[a-z]{2})$ index\.php?page=$1&lang=$2 [L] +RewriteRule ^p/(.*)-([a-z]{2})$ index\.php?page=$1&lang=$2 [L] RewriteRule ^p/(.*)$ index\.php?page=$1 [L] RewriteRule ^([a-zA-Z]{1,})/doc-([a-z]{2})$ index\.php?doc=$1&lang=$2 [L] RewriteRule ^([a-zA-Z]{1,})/doc$ index\.php?doc=$1 [L]