What does this product do?
It uses the existing vBulletin Archive feature to be used for Sitemap for the forum like in vbSEO / TfSEO product.
How to install?
- Enable the Archive Feature in
AdminCP > vBulletin Options > Search Engine Friendly Archive
Forum Archive Enabled <Yes>
Display Simple View of Threads <No> ( Optional but its not good to have different page for the content )
- Add the following line to your .htacces file
Code:
RewriteRule ^sitemap(.*)$ forums/archive/index.php$1 [QSA,L]
- Import the product XML
- Change the Footer Template to point the Archive to Sitemap Location.
Find :
Code:
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
Replace with :
Code:
<if condition="$vboptions['archiveenabled']"><a href="$vboptions[homeurl]sitemap/">$vbphrase[archive]</a> -</if>
You may need to add a trailing slash after $vboptions[homeurl] if it does not already end with /
- Optionally change the Phrase Archive to Sitemap
How to uninstall?- Remove the content of .htaccess
- Revert the template / phrases
- Just un-install product.
Samples
See the working example on my forum http://www.go4expert.com/
Note: I changed some bburl to homeurls and if you find something wrong in it do let me know and I would be more than happy to help.