Results 1 to 15 of 15

Problem with gz file locations

This is a discussion on Problem with gz file locations within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; I am trying to get the Google autoupdate to work. My files are being written to /forum/vbseo_sitemap/data/sitemap_(1-10). Site submitted: www.xxxxxxxx.com/ ...

  1. #1
    Member
    Real Name
    Trana
    Join Date
    Jan 2006
    Posts
    77
    Liked
    0 times

    Problem with gz file locations

    I am trying to get the Google autoupdate to work.

    My files are being written to /forum/vbseo_sitemap/data/sitemap_(1-10).

    Site submitted:
    www.xxxxxxxx.com/

    httpd.ini:
    [ISAPI_Rewrite]
    RewriteRule ^(.*\.(?:gif|jpg|png|css|xml|js))$ $1 [I,L]
    RewriteRule ^/forum/(members/.+\.html)$ /forum/vbseo.php?vbseourl=$1 [L,O]
    RewriteRule ^/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond URL ^/forum/(?!markers|admincp/|modcp/|clientscript/|cpstyles/|images/).*
    RewriteRule ^/forum/(.+?)(?:\?(.*))?$ /forum/vbseo.php?vbseourl=$1(?2&$2) [L]
    RewriteRule ^/(index.+?)(?:\?(.*))?$ /forum/vbseo.php?vbseourl=$1&vbseorelpath=../(?2&$2) [L]

    My site is being recognized by Google, and it finds the index.xml file, but I get 404 errors on all of the actual files (1-10):

    Sitemap errors for http://www.xxxxxxxxx.com/forum/sitemap_1.xml.gz
    etc.....

    Can anyone help me? I don't understand why it is finding the index file, reading it, but is unable to grab the actual files.

    Any help would be appreciated.

    Thanks!

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello Trana,

    you should change this line:
    Code:
    RewriteRule ^/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    to:
    Code:
    RewriteRule ^/forum/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    and submit http://www.xxxxxxxxx.com/forum/sitemap_index.xml.gz file.

  3. #3
    Member
    Real Name
    Trana
    Join Date
    Jan 2006
    Posts
    77
    Liked
    0 times
    In order to submit the /forum/sitemap_ file don't I have to use the /forum url when I create the site? Aren't there negative affects of submitting the site www.xxxxxxxx.com/forum?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    This is a normal configuration when sitemap url is http://yourforumsroot/sitemap_index.xml.gz

  5. #5
    Member
    Real Name
    Trana
    Join Date
    Jan 2006
    Posts
    77
    Liked
    0 times
    OK, so right now my site is:

    http://www.xxxxxxx.com/forum

    And I submitted:

    http://www.xxxxxxx.com/forum/sitemap_index.xml.gz

    Is this ok or should I change it? I can't submit www.xxxxxxx.com if the sitemap location is rewritten to the /forum directory.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Yes, that is ok.

  7. #7
    Member
    Real Name
    Trana
    Join Date
    Jan 2006
    Posts
    77
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Yes, that is ok.
    I don't think you are correct about this.

    First of all, my site rank has NOT recovered from the change. My two main keywords are barely showing any sort of rank, I was previously #1. In addition, any links that are showing up in Google are pointing to my /forum root content and not my CMPS index.php which sits in the root of my site.

    I'm going to need some assistance here as there is no way that this can be the optimal way to do the sitemap submission. I have waited more than a month now, it is not improving.

    Thanks.

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Do you mean that your receive sitemap download error in google webmaster account? Please note Google Sitemaps are not directly related to SE ranking, if you just submit sitemap it doesn't mean that you will get SE position improvement.
    https://www.google.com/webmasters/si...itemapOverview

  9. #9
    Member
    Real Name
    Trana
    Join Date
    Jan 2006
    Posts
    77
    Liked
    0 times
    No, what I mean is that I should be submitting the files from a site registered from the root of my domain name and not the /forum where I currently have it.

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    According to google sitemap protocol, it is allowed to submit sitemap in subfolders, as long as all included URLs are located at the same level or below (you can find more details on the page I linked above).

  11. #11
    Member
    Real Name
    Trana
    Join Date
    Jan 2006
    Posts
    77
    Liked
    0 times
    OK, so I changed my httpd.ini and added the verify string to my vba cmps portal index page. The verify works properly and it finds the site index, but not the detail files.

    sitemap_index.xml.gz (works fine) but this file when viewed lists the detailed files as \forum\sitemap_....

    How do I get the sitemap to be properly written so all of the gz files are listed as being in the root? They are there (via the rewrite), I can view them with no problems.

    Thanks.

  12. #12
    Member
    Real Name
    Trana
    Join Date
    Jan 2006
    Posts
    77
    Liked
    0 times
    Bump. I still need some assistance here.

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    You can define this in vBSEO Sitemap Generator options->"Sitemap Files URL". Set it to:
    Code:
    http://www.domain.com

  14. #14
    Member
    Real Name
    Trana
    Join Date
    Jan 2006
    Posts
    77
    Liked
    0 times
    Thank you Oleg, I never used that option.

  15. #15
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    You are welcome!

Similar Threads

  1. Hotlink Protection Tutorial (Apache Server - .htaccess files)
    By NeutralizeR in forum Member Articles
    Replies: 15
    Last Post: 06-08-2011, 02:25 PM
  2. htaccess file problem / vbseo problem
    By Bestgfe in forum Troubleshooting
    Replies: 6
    Last Post: 04-05-2006, 09:21 AM
  3. Problem with the sitemap file
    By Toocool in forum Troubleshooting
    Replies: 3
    Last Post: 01-29-2006, 04:33 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
  •