Results 1 to 14 of 14

Page not found - sitemap_index.xml.gz

This is a discussion on Page not found - sitemap_index.xml.gz within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I've installed and chmod everything correctly but sitemap_index.xml.gz doesn't seem to want to be created on my root. Code: # ...

  1. #1
    Member
    Real Name
    Christopher N.
    Join Date
    Mar 2008
    Posts
    34
    Liked
    0 times

    Page not found - sitemap_index.xml.gz

    I've installed and chmod everything correctly but sitemap_index.xml.gz doesn't seem to want to be created on my root.

    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 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\.XXX\.com
    RewriteRule (.*) http://www.XXX.com/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    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]

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Sitemap files are created in vbseo_sitemap/data/ folder, but you can still access them via forums root using rewrite rule in your .htaccess.

  3. #3
    Member
    Real Name
    Christopher N.
    Join Date
    Mar 2008
    Posts
    34
    Liked
    0 times
    *double post*

  4. #4
    Member
    Real Name
    Christopher N.
    Join Date
    Mar 2008
    Posts
    34
    Liked
    0 times
    So it's fine for me to use xxx.com/vbseo_sitemap/data/sitemap_index.xml.gz ?

    And what rewrite rule do I need added to access it from my root?

  5. #5
    Member
    Real Name
    Christopher N.
    Join Date
    Mar 2008
    Posts
    34
    Liked
    0 times
    Oleg,

    The .htaccess I've posted is what I'm currently using.
    Sitemap says it generated fine but no sitemap_index.xml.gz in my root.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Please try to replace this line in .htaccess:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    with:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap/)

  7. #7
    Member
    Real Name
    Christopher N.
    Join Date
    Mar 2008
    Posts
    34
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Please try to replace this line in .htaccess:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    with:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap/)
    Perfect! Working great now

    May I ask why this problem occurred in the first place?

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    It happens in some configurations when mod_rewrite does not apply [L] attribute in sitemap rewrite rule and trying to pass rewritten URL further to vBSEO. The modification above excludes sitemap requests from being pre-processed by vBSEO to avoid that.

  9. #9
    Member
    Real Name
    Javier Rodriguez
    Join Date
    Apr 2008
    Posts
    43
    Liked
    0 times
    Thank you from México!

  10. #10
    Junior Member Mr Monster's Avatar
    Real Name
    John
    Join Date
    Feb 2009
    Posts
    24
    Liked
    0 times
    Seems I have the same issue. Edited .htaccess and crossed fingers.

    Let you know tomorrow.

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hope that will help.

  12. #12
    Junior Member Mr Monster's Avatar
    Real Name
    John
    Join Date
    Feb 2009
    Posts
    24
    Liked
    0 times
    I think this worked Oleg. Thanks for all your help. You and Mert!

    Where do I get my hands on these smiles?

  13. #13
    Junior Member Mr Monster's Avatar
    Real Name
    John
    Join Date
    Feb 2009
    Posts
    24
    Liked
    0 times
    and Brian.

  14. #14
    Senior Member Shadab's Avatar
    Real Name
    Shadab
    Join Date
    Oct 2007
    Location
    Bhopal
    Posts
    821
    Liked
    0 times
    Blog Entries
    12

Similar Threads

  1. Replies: 380
    Last Post: 05-16-2012, 04:06 PM
  2. Page not found
    By zoe0001 in forum Deutsch
    Replies: 3
    Last Post: 08-03-2008, 11:56 AM
  3. Page not found
    By clarke_Kent in forum Troubleshooting
    Replies: 2
    Last Post: 01-13-2008, 02:01 PM
  4. Page not found
    By D4rKNull in forum General Discussion
    Replies: 1
    Last Post: 09-06-2006, 01:05 AM
  5. This Page Cannot be found
    By azarl in forum Troubleshooting
    Replies: 4
    Last Post: 07-24-2006, 01:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •