![]() |
Anyone know mod_rewrite?
I would like to use mod_rewrite, if possible, on a subdomain, to point to the member.php script according not to their userid but username.
So let's say the username attached to the userid of 1 is John. I want; subdomain.domain.com/John I know I could do something like subdomain.domain.com/1John So the script knows the userid but how would I do it with just passing the username? |
Rewrite the URL to:
member.php?username=John |
Hacking member.php to run off username instead of id looks complicated. Are you aware of a hack someone has done to do this already?
|
It's default functionality; you can use ?u= or ?username=.
|
All times are GMT. The time now is 07:37 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:
|