I've been using vBSEO for a year now and have had great results but wanted to get some help on something.
I currently have a .htaccess file in both the site root and the forum dir "/forum". I have the sitemaps in "/forum/vbseo_sitemaps". Below is what I have for the htaccess files and my robots file. Could you guys please help me streamline these and make sure I'm not having anything conflict? FYI, I have vBAdvanced setup as well.
I also have both my .com and .com/forum submitted to Google Webmaster tools for sitemaps and the .com keeps giving errors and I'm assuming that's due to me having things setup wrong.
Domain root htaccess file...
Code:#Options All -Indexes <Limit GET HEAD POST> order allow,deny allow from all </LIMIT> RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.cyclonefanatic\.com RewriteRule (.*) http://www.cyclonefanatic.com/$1 [R=301,L]
Forum htaccess file...
Root robots.txt file...Code:<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> # 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 vB folder (i.e. RewriteBase /forums) #RewriteBase #RewriteCond %{HTTP_HOST} !^www\.cyclonefanatic\.com #RewriteRule (.*) http://www.cyclonefanatic.com/forum/$1 [L,R=301] RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron) RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
Code:User-agent: * Disallow: /forum/admincp/ Disallow: /forum/attachments/ Disallow: /forum/attachment.php Disallow: /forum/calendar.php?do=add Disallow: /forum/cron.php Disallow: /forum/editpost.php Disallow: /forum/joinrequests.php Disallow: /forum/login.php Disallow: /forum/modcp/ Disallow: /forum/moderator.php Disallow: /forum/newreply.php Disallow: /forum/newthread.php Disallow: /forum/online.php Disallow: /forum/payments.php Disallow: /forum/postings.php Disallow: /forum/printthread.php Disallow: /forum/private.php Disallow: /forum/profile.php Disallow: /forum/register.php Disallow: /forum/report.php Disallow: /forum/reputation.php Disallow: /forum/sendtofriend.php Disallow: /forum/search.php Disallow: /forum/sendmessage.php Disallow: /forum/showpost.php Disallow: /forum/subscription.php Disallow: /forum/threadrate.php Disallow: /forum/usercp.php Disallow: /forum/vbookie.php Disallow: /forum/vaispy.php Disallow: /forum/tags/


LinkBack URL
About LinkBacks





Reply With Quote