Page 2 of 2 FirstFirst 1 2
Results 16 to 29 of 29

Sitemap location

This is a discussion on Sitemap location within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Yes, but the latest version is in the downloads area HERE on vBSEO .com. Since you're running vBSEO , you ...

  1. #16
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    Yes, but the latest version is in the downloads area HERE on vBSEO.com. Since you're running vBSEO, you need it.

  2. #17
    Member Ziki's Avatar
    Real Name
    Ziki
    Join Date
    Jan 2007
    Location
    Europe
    Posts
    68
    Liked
    0 times
    LOL I see

  3. #18
    Member Ziki's Avatar
    Real Name
    Ziki
    Join Date
    Jan 2007
    Location
    Europe
    Posts
    68
    Liked
    0 times
    I did as you said but the file is not found

  4. #19
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    Post the contents of the .htaccess file in the root of your site.

    Thanks

  5. #20
    Member Ziki's Avatar
    Real Name
    Ziki
    Join Date
    Jan 2007
    Location
    Europe
    Posts
    68
    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 /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !(admin/|mod/|chat|cron)
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !(admin|mod|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

  6. #21
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    That is the vBSEO .htaccess file. The .htaccess that goes in your root needs to be the one that comes with vBSEO Sitemap, as I noted earlier.

    Also, the line that contains this:
    vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    will need to be changed to:
    /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

  7. #22
    Member Ziki's Avatar
    Real Name
    Ziki
    Join Date
    Jan 2007
    Location
    Europe
    Posts
    68
    Liked
    0 times
    All the content of the sitemap generator htaccess file is already there and yes I will change that.

    EDIT: it shouldn't be changed.that .htaccess file is in forum root

  8. #23
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    The .htaccess you posted above should be the one in your FORUM root. It contains all the vBSEO rules.

    The one for your SITE root should only have a couple of lines, to handle the vBSEO Sitemap rewrites.

  9. #24
    Member Ziki's Avatar
    Real Name
    Ziki
    Join Date
    Jan 2007
    Location
    Europe
    Posts
    68
    Liked
    0 times
    So the sitemap htaccess content should be in site root htaccess.RIght

  10. #25
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    In your situation, yes.

  11. #26
    Member Ziki's Avatar
    Real Name
    Ziki
    Join Date
    Jan 2007
    Location
    Europe
    Posts
    68
    Liked
    0 times
    Ok it works now but it seems kinda stupid because it says:
    <loc>http://www.zikihideout.com/sitemap_1.xml.gz</loc>

    though the real sitemap is in http://www.zikihideout.com/forums/vbseo_sitemap/data/sitemap_1.xml.gz

  12. #27
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    That is only one of your sitemaps. As the site grows, more will be created since you can only have a maximum of 50k URLs per file. Submitting the index file will always include all of your sitemaps.

    The purpose of having them created in the data directory is to keep your site root clean and neat. The .htaccess rules allow them to appear to be in the root.

  13. #28
    Member Ziki's Avatar
    Real Name
    Ziki
    Join Date
    Jan 2007
    Location
    Europe
    Posts
    68
    Liked
    0 times
    But there is no sitemap at http://www.zikihideout.com/sitemap_1.xml.gz !

    Crap nvm.....

  14. #29
    Member Ziki's Avatar
    Real Name
    Ziki
    Join Date
    Jan 2007
    Location
    Europe
    Posts
    68
    Liked
    0 times
    The thread can be now closed.Thanks for the great support!How can I write a testimonial??

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Google Sitemap Error
    By Exitilus in forum Troubleshooting
    Replies: 3
    Last Post: 01-18-2007, 05:23 PM
  2. Google Sitemap Error (Location?)
    By Spitfire in forum General Discussion
    Replies: 5
    Last Post: 05-30-2006, 07:12 AM
  3. Sitemap Location?
    By Atheda in forum General Discussion
    Replies: 8
    Last Post: 04-19-2006, 06:26 PM
  4. Sitemap location
    By farisb in forum Troubleshooting
    Replies: 6
    Last Post: 01-25-2006, 12:00 PM
  5. Replies: 0
    Last Post: 12-17-2005, 02: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
  •