Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- # Make sure you only match on files/directories that don't actually exist
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteBase /
- # Rewrite the first part after the `/` into a `username` parameter
- RewriteRule ^(.+)$ groups/index.php?gname=$1 [L,QSA]
- RewriteRule ^edit/id/([0-9]+)/?$ groups/view_update.php?pid=$1 [NC,QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement