ColdEdge Posted May 16, 2010 Share Posted May 16, 2010 Hi, I need a bit of help my standard url looks like this...RewriteRule ^profile/([A-Z]+) profile.php [L,QSA]So the user will see link show up as such /profile/usernameThe problem is that what if the user has digits and characters or even a dash. since I am only using A-Z it only works with characters, how can I make sure that if users have usernames likes this for examplecold-edgecoldedgecoldedge-6coldedge2010that they all will be able to get to /profile/username page.- Thanks in advance Link to comment Share on other sites More sharing options...
Synook Posted May 16, 2010 Share Posted May 16, 2010 [a-zA-Z0-9-] Link to comment Share on other sites More sharing options...
ColdEdge Posted May 16, 2010 Author Share Posted May 16, 2010 Thanks ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.