vBSEO Dashboard
+ Reply to Thread
Results 1 to 7 of 7

404 Error on Sitemap

This is a discussion on 404 Error on Sitemap within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I moved my servers, got my vbSEO moved and working with all the great help from Mert and Brian and ...

  1. #1
    Junior Member
    Real Name
    Donald Chase
    Join Date
    Sep 2009
    Posts
    4

    404 Error on Sitemap

    I moved my servers, got my vbSEO moved and working with all the great help from Mert and Brian and am now stuck on the sitemap generator.

    The sitemap generator is working and vbSEO is working, but when the URL for the sitemap is requested, I get a 404 error.

    The sitemap is located at: http://www.rexmag.com/forums/sitemap_index.xml.gz

    I'm using IIS, so the web.config file is:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <rule name="vbSEO Imported Rule 1" enabled="true" stopProcessing="true">
                        <match url="^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$" ignoreCase="true" />
                        <action type="Rewrite" url="/forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap={R:1}" appendQueryString="false" />
                    </rule>
            <rule name="vbSEO Imported Rule 2" enabled="true" stopProcessing="true">
                        <match url="^/forums/((archive/)?(.*\.php(/.*)?))$" ignoreCase="true" />
                        <conditions logicalGrouping="MatchAll">
                            <add input="{URL}" negate="true" pattern="/forums/(admincp/|modcp/|cron|vbseo_sitemap|nf-includes)" ignoreCase="true" />
                        </conditions>
                        <action type="Rewrite" url="/forums/vbseo.php" appendQueryString="true" />
                    </rule>
                    <rule name="vbSEO Rewrite All" enabled="true" stopProcessing="true">
                        <match url="^.*$" ignoreCase="true" />
                        <conditions logicalGrouping="MatchAll">
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            <add input="{REQUEST_FILENAME}" negate="true" pattern="/forums/(admincp|modcp|clientscript|cpstyles|images)/" ignoreCase="true" />
                        </conditions>
                        <action type="Rewrite" url="/forums/vbseo.php" appendQueryString="true" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
    
    Looking at the page on development machine, I just get a "Page not found" message, which I think is from vbseo.php.

    When I try to simulate this, I use http://www.rexmag.com/forums/vbseo_s...p=index.xml.gz and it still shows a 404 error. Anyone have an idea what I'm missing?

    Thanks,
    Donald

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    seoville
    Posts
    6,311
    Have you confirmed that the files have actually been created? There's at least 2 .xml.gz files in the /data/ folder of your sitemap directory?
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.5.1 GOLD Released - Includes Livestats integrated dashboard


  3. #3
    Junior Member
    Real Name
    Donald Chase
    Join Date
    Sep 2009
    Posts
    4
    I did.

    There's:
    sitemap_index.xml.gz
    urllist.txt.gz
    sitemap_1.xml.gz - sitemap_4.xml.gz

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    seoville
    Posts
    6,311
    Note, you should disable the "Yahoo txt format" in sitemap options and delete urllist.txt.gz. Yahoo now supports xml versions. This will be depreciated in our next sitemap release.


    Regarding the accessing problem, I will flag this thread for someone more familiar with IIS7. It's outside my expertise area.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.5.1 GOLD Released - Includes Livestats integrated dashboard


  5. #5
    Junior Member
    Real Name
    Donald Chase
    Join Date
    Sep 2009
    Posts
    4
    I appreciate it. Put it here because I figure in the future, someone will have the same problem.

    This is a great product, I know enough about SEO to know that thing does in a snap for a forum what I have spent countless hours coding for my own sites.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,088
    Hello Donald,

    please try to change this line:
    Code:
    <match url="^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$" ignoreCase="true" />
    
    to:
    Code:
    <match url="^.*((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$" ignoreCase="true" />
    
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.5.1 GOLD Released - Includes Livestats integrated dashboard

  7. #7
    Junior Member
    Real Name
    Donald Chase
    Join Date
    Sep 2009
    Posts
    4
    Code:
    <match url="^((urllist|sitemap_).*\.(xml|txt)(\.gz))$" ignoreCase="true" />
    
    Is what I finally went with, which is basically the same since web.config is in the /forums/ subdirectory.

Similar Threads

  1. Sitemap XML Error
    By Big-Pete in forum Troubleshooting
    Replies: 1
    Last Post: 09-20-2009, 03:17 PM
  2. error in my Sitemap !!!
    By dal3sh in forum General Discussion
    Replies: 6
    Last Post: 04-06-2009, 12:20 PM
  3. Sitemap error
    By profanitytalker in forum Troubleshooting
    Replies: 2
    Last Post: 12-05-2008, 03:20 AM
  4. Sitemap error
    By ridoxxx in forum General Discussion
    Replies: 6
    Last Post: 05-14-2008, 10:37 AM
  5. Sitemap error
    By kellogs in forum Bug Reporting
    Replies: 7
    Last Post: 08-14-2007, 06:54 PM