The .htaccess rewrite will not work on all usernames.
Try it on some of the more obscure characters and see. It will not work with * ~ or multiple spaces. I have a user called ~L O U I S E~ and all it does is cause 404 errors. I think you'd have to disallow special characters and spaces for this to work properly.
Plus, like I mentioned before, if you have your vbagallery under the forum root you will not be able to type in site.com/forums/gallery without getting a "user doesn't exist" error.
You can try adding a RewriteRule (^[/gallery]*$) /forums/gallery/index.php but this will cause a server configuration error on browseimages.php.
I will welcome it if anyone can get around these errors though.
|