Woltlab core is installed in http://www.mydomain.com/forum/
Woltlab forum is installed in http://www.mydomain.com/forums/
Woltlab gallery is installed in http://www.mydomain.com/gallery/
My vbulletin installation is currently in the root directory http://www.mydomain.com/ and it has htaccess file in the root directory that's responsible for changing www. URLs to non-www, and the sitemap.
I put the WSF code (as per instructions here
Setting up user friendly URLs ) below the existing code see below.
Now the forum and gallery urls don't work at all, they get redirected to root which is my vbulletin installation. Please advise.