vBulletin Search Engine Optimization
This is a discussion on 404 error on sitemap within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; hello! I'm assuming it's a 404 error because i just get redirected to the forums homepage. The sitemap seems to ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
|
hello! I'm assuming it's a 404 error because i just get redirected to the forums homepage. The sitemap seems to be generating ok because the files are in the data dir. http://www.thebabycorner.com/boards/...p_index.xml.gz .htaccess is located in the forum root I have tried changing rewrite condition line to include vbseo_sitemap to : Code: RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
here is my .htaccess file: Code: RewriteEngine On
#RewriteBase /
#Do not remove these two lines
DirectoryIndex index.html index.php
AddDefaultCharset utf8
AddCharset utf8 .html
AddType 'textml; charset=utf8' html
# gzip css, javascript, html file
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
</IfModule>
FileETag None
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
</IfModule>
|
|
#2
| ||||
| ||||
|
maker sure you have this rule Code: RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] |
|
#3
| |||
| |||
|
it is in there.. see above please. is it maybe in the wrong place?
|
|
#4
| ||||
| ||||
|
try chanigng this: <IfModule mod_rewrite.c> RewriteCond %{REQUEST_FILENAME} -f to this <IfModule mod_rewrite.c> That file catch rule seems out of place to me (you have another in the right sport at the bottom already) |
|
#5
| |||
| |||
|
that worked! thank you!
|
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Following Sitemap error: | kriscad | Troubleshooting | 20 | 07-30-2008 01:09 PM |
| Sitemap Error | jarod1981® | Troubleshooting | 3 | 04-10-2008 02:52 PM |