Browse Source

add rewrite rule

master
Andrea Cimbalo 12 years ago
parent
commit
87a4b46218
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      .htaccess

+ 5
- 0
.htaccess View File

@ -0,0 +1,5 @@
RewriteEngine On
RewriteRule ^users/(.*)/user.php user.php?user=$1 [L]
RewriteRule ^users/(.*[^/])$ /users/$1/ [R=301,L]
RewriteRule ^users/(.*)/ index.php?user=$1 [L]

Loading…
Cancel
Save