From 5e8d7ab4368a4cb7d76bfc6e4c36af835dcb817b Mon Sep 17 00:00:00 2001 From: florinutz Date: Thu, 1 Nov 2012 16:39:23 +0000 Subject: [PATCH] Issue 175: Routing git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12035 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.htaccess b/.htaccess index 4211d80b3..2730b2a1e 100644 --- a/.htaccess +++ b/.htaccess @@ -49,3 +49,6 @@ RewriteRule ^([a-zA-Z0-9_]+)/entry/(.+)$ ./index.php?mid=$1&entry=$2 [L,QSA] # vid + mid + entry title RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/entry/(.+)$ ./index.php?vid=$1&mid=$2&entry=$3 [L,QSA] +#shop / vid / [category|product] / identifier +RewriteCond %{SCRIPT_FILENAME} !-f +RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/([a-zA-Z0-9_\.-]+)$ ./index.php?act=route&vid=$1&type=$2&identifier=$3 [L,QSA]