4795 Posts in 1997 Topics by 1444 members
|Go to End|
1 December 2009 at 7:20pm
I am having an issue with 404 error pages that I can't seem to get around.
When publishing a custom error page (404) the page.ss is being used like for normal pages but the doctype itself is being changed.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en" >
It is xhtml 1.1 for all of the content pages but changes to strict html with the error page. this is throwing a parsing error in the browser. It also seems to strip all the closing tags in the head.
I have deleted the 404 page in assets and disabled the Content Negotiator, reflushed and rebuilt all to no avail.
Is the headers and meta being created by the CMS itself?
|Go to Top|