The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Rewrite Help
I need some help with mod_rewrite.
I have setup a subdomain that uses member.php subdomain.domain.com/member.php I want to set it up so subdomain.domain.com/Username/ Will go to; subdomain.domain.com/member.php?username=Username However they will never know the member.php path. It just stays at subdomain.domain.com/Username/ I can do this using; RewriteCond %{REQUEST_URI} ^(.*)/ RewriteRule ^([^/]*)/$ member.php?username=$1 However this presents some issues. If you hit subdomain.domain.com/Username it errors out. I've tried some code to add the trailing slash but it gets confused when a user name has a . in it. Any help would be appreciated. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|