Results 1 to 7 of 7

Sitemap help

This is a discussion on Sitemap help within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I looked through the threads at vb .org and didnt find a answer. I installed the sitemap mod and for ...

  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    51
    Liked
    0 times

    Sitemap help

    I looked through the threads at vb.org and didnt find a answer.

    I installed the sitemap mod and for some reason my yahoo sitemap isnt created

    It says 0kb the google one comes up fine.

    I also tried to acess the compressed version of the file and it redirects me to the main page.

    sitemap.txt.gz = 0kb

  2. #2
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Do you mind linking me to your homepage. Also have you uploaded the Sitemap plugin?

  3. #3
    Member
    Join Date
    Oct 2005
    Posts
    51
    Liked
    0 times
    I have setup and imported the product..

    My google sitemaps are generated but the yahoo one isnt

    Index File sitemap_index.xml.gz
    Sitemap File #1 sitemap_1.xml.gz (158 URLs, 3.12Kb) 33.92Kb uncompressed
    Text Format File sitemap.txt.gz (0.00Kb)

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hi,


    Make sure that you have correct rewrite rule in .htaccess:
    RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    AND "Create Yahoo Sitemap" option is enabled in vB Admincp.

  5. #5
    Member
    Join Date
    Oct 2005
    Posts
    51
    Liked
    0 times
    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 /
    RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] 
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $1 [L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    Im a bit confused i followed the directions on vb.org u are telling me to change the first line and the... the updated 2.2 version says its already comptitable

    which is the right way ?

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    The rewrite rule line was changed in the Sitemap Generator v1.2 (you have correct one in the quoted code).
    What is your sitemap.txt.gz URL?

  7. #7
    Member
    Join Date
    Oct 2005
    Posts
    51
    Liked
    0 times
    i will send a private message

Similar Threads

  1. Memory Problem:
    By TraumTeam in forum Troubleshooting
    Replies: 1
    Last Post: 04-06-2006, 08:24 AM
  2. Problem with the sitemap file
    By Toocool in forum Troubleshooting
    Replies: 3
    Last Post: 01-29-2006, 04:33 PM
  3. Replies: 0
    Last Post: 12-17-2005, 01:11 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
  •