for our install of the cmps addon I had to set:
PHP Code:
$vba_url = 'http://oursite.com';
Since our cmps lives at the top level and our forums live in a subdirectory at
http://oursite.com/forums/
Also, since the forums live in a subdirectory, our rerwrite at the top level had to look like:
PHP Code:
RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteRule ^(forums/sitemap.*\.(xml\.gz|txt))$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
The sitemap_index generates xml with submap urls that include /forums/ so we had to account for that with second line.