I'm trying to do something with htaccess, dunno if anyone can help though.
My forum is at "website.com/forums/index.php" with vbadvanced in the website root.
I want to get to my profiles by going to "website.com/username" (without the word forum)
Here is my .htaccess.
Code:
RewriteEngine on
RewriteRule ^$ index.php
RewriteRule (^[-_A-Za-z0-9\ ]*$)
http://www.website.com/forums/member.php?&username=$1
This works well for pulling up the profile html,
However ... because this is now outside the forum root, all the links, avatars images etc. are missing out the "forums/" part of the url and thus not working.
Any idea how I can work around this?
I know I can do mywebsite.com/
forums/username, but that is not what i want.