View Full Version : url.com/username
zardos
06-10-2007, 11:00 PM
Hi, i wondered if some one know how I using mod_rewrite could make "url.com/username" be the url to the user profile?
davidw
06-10-2007, 11:23 PM
you could do it with an .htaccess file, but not sure what the code is offhand
edit: something like this should work
RewriteEngine On
RewriteRule ^$ index.php
RewriteRule (^[-_A-Za-z0-9\ ]*$) member.php?&username=$1
but you'll probably have an issue with your online users online.php file.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.