I'm installing vBSEO sitemap. I'm at the .htaccess configuration part, the instructions say I need to enter the following code:
RewriteEngine On
RewriteRule ^((urllist|sitemap).*.(xml.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
Here is the contents of the exisiting .htaccess file at vbroot:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vBulletin folder (i.e. RewriteBase /forums)
#RewriteBase /
#RewriteCond %{HTTP_HOST} !^www.yourdomain.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
Where do I insert the necessary code? I noticed that RewriteEngine is on, didn't know if I needed to "turn it on" twice. Also, regarding the "Enter your Direct Script Run Code" part..what is this and where do I find it?
Thanks, slowly but surely getting this working..learning all the way.


LinkBack URL
About LinkBacks





Reply With Quote
) That's all controlled from AdminCP->vBulletin Options->vBSEO Sitemap Options
is there anything that I should consider tweaking in there or is it pretty much setup to work O.K. as is? 