Hi everyone,
Is it possible to mod_rewrite a URL from say
www.mysite.com/member.php?m=MemberName
to
www.mysite.com/MemberName
Like used on Twitter?
Thanks for any help with this
Options +FollowSymLinks
RewriteEngine On
# Don't match requests to existing files.
RewriteCond %{SCRIPT_FILENAME} !-f
# Don't match requests to existing directories.
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/]+)/?$ /member.php?m=$1 [QSA,L]
Users browsing this forum: No registered users and 107 guests