From f18d1c1f835a9bf80d94b4951ee5d48c61a63e1f Mon Sep 17 00:00:00 2001 From: Gnieark Date: Tue, 8 Dec 2015 10:19:52 +0100 Subject: [PATCH] modif des rewriterule pour prise en charges de pages simples http://site/p/page --- html/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/html/.htaccess b/html/.htaccess index 683757e..8d8cbd5 100644 --- a/html/.htaccess +++ b/html/.htaccess @@ -1,5 +1,9 @@ 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/(.*)$ 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] RewriteRule ^([a-zA-Z]{1,})-([a-z]{2})$ index\.php?arena=$1&lang=$2 [L]