View Full Version : mod_rewrite

08-17-2009, 02:05 AM
Ok so im wicked confused. Can some one please explain how to make it so that when a user types:

www.myurl.com/THEIRUSERNAME it will show

thank you for all your help in advanced.:thumbsup:

08-17-2009, 02:08 AM

RewriteEngine on
RewriteRule ^([a-z0-9_]+)/*$ profile.php?id=$1 [QSA,NC]

Put that in a file called .htaccess (if it's not there just create it) and put it in your root

08-17-2009, 02:16 AM
ok, this is very helpful. hahah i do php but the modrewrite confuses me. thanks a lot for your help.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum