![]() |
userid/username maping
Is there anyway to have the userids mapped to the usernames maybe have something like domain.com/username to show the a users profile. Even if it was a subfolder like domain.com/user/username something along those lines. I tried searching but I havent seen it on the site.
|
|
how did you do that?
|
mod_rewrite
http://wwww.site.com/forums/members/$1 to http://www.site.com/forums/member.php?username=$1 (pseudo code) |
Sorry but i do not understand
|
I use a commercial product that does it, plus a lot of other things. You should be able to do it with a .htaccess with code similar to the above.
|
any idea? i entered it and it gave me a server cant post error
|
Search for mod_rewrite and you will probably find a few posts about this.
|
yeah thanks guys I did this last night. mod_rewrite pointed me in the right searching direction. I added this to my .htaccess RewriteRule ^members/(.*)$ member.php?username=$1 and it works great. In the MEMBERINFO template I had to add a / before everything so that it would point back to the root
|
All times are GMT. The time now is 03:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|