Results 1 to 5 of 5

.htaccess and existing sitemap.xml

This is a discussion on .htaccess and existing sitemap.xml within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; I already have a sitemap.xml for my static pages at root/. Does my .htaccess redirect access to that sitemap.xml in ...

  1. #1
    Junior Member
    Real Name
    James
    Join Date
    Dec 2006
    Posts
    25
    Liked
    0 times

    .htaccess and existing sitemap.xml

    I already have a sitemap.xml for my static pages at root/.

    Does my .htaccess redirect access to that sitemap.xml in /forum/vbseo_sitemap?

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

    I have two sitemaps registered with Google. How do I make sure they are both accessed by Google?

    sitemap.xml (static map)
    sitemap_1.xml.gz (vbseo map)

    Thanks.
    FB

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Yes, you should change vBSEO's rewrite rules to avoid this:
    Code:
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    (notice underscore added).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Junior Member
    Real Name
    James
    Join Date
    Dec 2006
    Posts
    25
    Liked
    0 times
    Thanks Oleg,
    I've made that change. Now, when I send my browser to www.mysite.com/sitemap_1.xml.gz, it downloads the vBSEO sitemap. When I go to www.mysite.com/sitemap.xml.gz, I get an error message "Sitemap file not found". That is my gsitecrawler generated sitemap.

    Do you know what I am doing wrong?
    Thanks.
    FB

  4. #4
    Junior Member
    Real Name
    James
    Join Date
    Dec 2006
    Posts
    25
    Liked
    0 times
    It's OK now. I must not have done the .htaccess edit right the first time.
    Thanks again for the great support. Now we get to wait and see how Google treats us!
    FB

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Great!
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Existing customer waiting for Support Ticket Response...
    By kat in forum Pre-Sales Questions
    Replies: 3
    Last Post: 10-20-2006, 02:19 PM
  2. Add Keywords to Existing Rewritten Urls
    By brandnew in forum URL Rewrite Settings
    Replies: 2
    Last Post: 09-08-2006, 01:50 PM
  3. After vBSEO-ing, what happens to existing posts?
    By kat in forum Pre-Sales Questions
    Replies: 5
    Last Post: 05-13-2006, 11:29 AM
  4. Using existing rewrite rules
    By tavenger5 in forum Pre-Sales Questions
    Replies: 14
    Last Post: 04-01-2006, 10:52 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
  •