View Single Post
Old 02-08-2005, 01:31 PM  
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
Quote:
Originally Posted by pornRefinery
RewriteEngine on
RewriteRule ^/p/([^/]+) /profile.php?user=$1

Will redirect domain.com/p/john to the page you want. It's better to do it under /p/ or any other name you choose as opposed to the root dir.

i see you point, cause if a user makes and account called images and the redirect is on the root i'll be fucked or atleast the redirect would get confused.

but is there a way around that? cause http://www.domain.com/UserName is so much cleaner looking and easier for a user to remember and tell someone

Last edited by acctman; 02-08-2005 at 01:33 PM..
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote