Does anyone use the Google Site Map XML generator?
I use it on all the sites I create, but Google have just implemented a checking mechanism which requires a valid error code. There was a fix that I’ve been using which involved swapping the index.php with an old eto (modified) index.php which returns a valid error code for the purpose of verifying the site, but results in no managed pretty error page (so only ever been a temporary measure for the verify process).
I’m aware that modx will not operate correctly with an Eto file, it was only to generate the correct verify code. But this method now does not work.
In a future release of Modx, can there be a returned valid error code before the redirect/refresh to a managed error page?
The Google error is...
We have detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.
If others use a Google Site Map with Modx, how have you overcome this problem?
Thanks.