SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2005
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fine Locally But Not On Server (HTTP 400 Error)

    Hi guys...

    Im in the middle of making another website, and im trying out making a xml sitemap on the fly. Locally it seems to work fine... I can view the file in my browser perfectly but when I upload the site I get a 'HTTP 400 (Bad Request)' error.

    The page im having problems with is www.compufolk.com/sitemap.aspx

    It *should* (and does on my PC) look like the following:

    Code:
    <?xml version=""1.0"" encoding=""UTF-8""?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
    
    <loc>http://www.compufolk.com/wii-cheats/marvel-ultimate-alliance-1043.aspx</loc>
    
    </url>
    </urlset>
    ... but obviously with many more links in it...

    - If anyone has come across this before I'd appreciate the help
    Turn My Text - íspuǝıɹɟ ʞooqǝɔɐɟ ɹnoʎ ǝzɐɯɐ puɐ ǝsnɟuoɔ

    Computer Game Cheats & Codes

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,623
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Loads just fine for me, though you probably need to change the content-type to be something besides text/html . . .

  3. #3
    SitePoint Zealot
    Join Date
    Apr 2005
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Strangely its loading for me too, I dont understand why as I've done nothing to it since this post...
    Thanks for the tip as well
    Turn My Text - íspuǝıɹɟ ʞooqǝɔɐɟ ɹnoʎ ǝzɐɯɐ puɐ ǝsnɟuoɔ

    Computer Game Cheats & Codes


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •