Customerror sends incorrect HTTP response code
subdian - March 18, 2009 - 10:16
| Project: | CustomError |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Custom error is very useful for customizing the error pages, but shouldn't the error page be sent with the original response code (i.e. 403 or 404) instead of 200, which it currently sends?
By sending an HTTP 200 code, the search engines will still think its a valid page, and will index a customized error page for an incorrect URL.

#1
Yes.
Do you have a patch that fixes this?
#2
I'm afraid I don't. But I would sure like one :-)
I could take a look... I'd imagine it can't be that difficult
#3
I put in a fix for the 5.x-1.x-dev and 6.x-1.x-dev versions of the module.
It should be available in about 9 hours in the tarball.
Please test that version tomorrow.
#4
Tested with the dev release for D5 and confirms that it works fine. Perhaps you can make a new release?
#5
New stable releases created for 5.x and 6.x.
Should appear shortly on the project page.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.