Google Sitemaps – 404 Verification Problem
I have submitted my sitemap to Google Sitemaps and am getting a verification error – ‘We’ve detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.’
Now I followed the instructions on:
and added the 404 header line so that my 404 template is now as follows:
<?php header("HTTP/1.1 404 Not Found"); ?>
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<h2 class="center">Error 404 - Not Found</h2>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
But Google is still insistently giving the same error. You can see an example of an error page on my site at:
Anyone any ideas what this could be? Thanks in advance!
- The topic ‘Google Sitemaps – 404 Verification Problem’ is closed to new replies.