sitemap problem to access

gold10

New Member
hi when I generate a sitemap with vbseo sitemap generator I can not access it
it says "page not found "
 

leegao

New Member
make sure you check that vbseo's got the rewrite rules correct (What the proper one's should be, I have no idea, I have the same problem but I'm not too worried about it)
 

gold10

New Member
I had this problem before but I don't remember how I resolved the issue
I had a problem I restored the forum so now I have this problem again
hope some one will help us
thanks
 

leegao

New Member
nvm, I was thinking that maybe the whole rewrite engine was defective (as is the case in lighttp) but then I remembered that vbSeo worked perfectly fine for you (meaning the URL rewrites worked as well)

Well, besides that, you and me both have this common problem and no solution ;)
 

Grinderhand

New Member
Are you trying to view your sitemap on your forum root? That's where you should be looking for it unless you configured sitemap to be generated elsewhere.
 

gold10

New Member
hi everybody I found the solution change made in .htaccess in the root

I changed this :

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]

by this :

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|vbseo_sitemap/)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php [L,QSA]

and it works

good luck
 

Grinderhand

New Member
If this line in your .htaccess looks like this:

Code:
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

...try removing the underscore after urllist|sitemap. Worked for me.
 

Error47

New Member
Gold 10, I tried your method, but after running the Sitemap generator, I still got page not found. This is what my .htaccess file looks like when I changed it to your method

Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the x2YZSEO 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\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ x2yzseo_sitemap/x2yzseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|vbseo_sitemap/)
RewriteRule ^(.*\.php(/.*)?)$ x2yzseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ x2yzseo.php [L,QSA]

It didn't work so I changed it back to

Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the x2YZSEO 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\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ x2yzseo_sitemap/x2yzseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ x2yzseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ x2yzseo.php [L,QSA]

Does this have anything to do with the fact that vbseo is called x2yzseo.php . I am using the custom modified Vbseo that I found on this forum.

Oh, and Grinderhand, I tried removing the underscore, but there was still no .xml file after I ran the sitemap generator.
 
Top