Weird Sitemap issue [Wordpress / XML]

Discussion in 'Programming' started by roflux, Nov 9, 2009.

  1. #1
    A friend is having some problems with his sitemap.

    The following works fine,
    http://theharderview.com/sitemap.xml
    PHP:
    However when you add a www. after the http:// it breaks
    http://www.theharderview.com/sitemap.xml
    PHP:
    Google/Bing is only seeing the broken sitemap.xml. I've submitted the working sitemap.xml URL but I am not sure if that will work nore is it a solution.

    I have tried reinstalling the plugin but i get the same error, i also tried messing with .htaccess but no luck there.

    If anybody knows whats up and could help it would be greatly appreciated.
     
    roflux, Nov 9, 2009 IP
  2. gacba

    gacba Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try editing your .htaccess file to redirect the www.domain.com to domain.com. That might help.
     
    gacba, Nov 10, 2009 IP
  3. roflux

    roflux Peon

    Messages:
    560
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    tried it, no luck :(
     
    roflux, Nov 10, 2009 IP