Fixes RewriteRule conflicts in htaccess see #4077

skala
Julio Montoya 14 years ago
parent 4b66191080
commit 8d96092064
  1. 5
      htaccess

@ -9,9 +9,12 @@
RewriteEngine on
RewriteCond %{QUERY_STRING} ^id=(.*)$
RewriteRule ^certificates/$ certificates/index.php?id=%1 [L]
RewriteRule ^([^/.]+)/?$ user.php?$1 [L]
# This will transform
# This will transform
# http://my.chamilo.net/certificates/?id=123 to http://my.chamilo.net/certificates/index.php?id=123
# http://my.chamilo.net/juliomontoya to http://my.chamilo.net/user.php?juliomontoya
Loading…
Cancel
Save