Support » Fixing WordPress » sniffer finds 404 error

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m getting 200’s on both feed urls with *www* and 301’s on both without the *www*. I couldn’t duplicate a 404 on either one.

    Thread Starter 64coach

    (@64coach)

    ClaytonJames,

    i found the issue with the 404 code. After search the web for hours on end on troubleshooting this issue i found this post:

    “Testing example.com/sitemap.xml in browser showed the xml with all the pages, all seemed fine.

    But then Google Webmaster Tools complained about a 404 not found for the /sitemap.xml url.

    Some testing showed that WordPress adds a 404 header to all feeds, including the sitemap xml feed, if no posts exist in the website.”

    For the hell of it i checked to see if i had any posts in those two sites i did not. I created one post on each site refreshed the screen went back to sniffer and it worked!! received the 200 code on each site.

    Something so simple was mind bloggling.

    Thank you for looking into my issue,

    Regards,
    64coach

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sniffer finds 404 error’ is closed to new replies.