Milohoss
Nov 7 2008, 11:48 PM
Howdy -
SO I now have dynamic publishing running, but it's caused my custom 404 page to cease working. Is it possible to have a custom 404 page when your site is dynamic? DO I need to add something to htacces?
THanks!
Milohoss
Nov 8 2008, 12:37 AM
Wow! I figured it out...
I opened up /php/mt.php and searched for "404" Then I deleted the following line:
header("HTTP/1.1 404 Not found");
and replaced it with
header( 'Location: 404.php' ) ;
imabug
Nov 8 2008, 03:40 AM
Changing the ErrorDocument directive in your .htaccess file to point to your 404 document is probably a better way of doing it.
Milohoss
Nov 9 2008, 06:45 PM
What does that actually look like?
imabug
Nov 10 2008, 05:28 AM
ErrorDocumentif you're using dynamic publishing, you should already have an .htaccess file in your blog directory with some ErrorDocument directives in it. Just modify them to point to your custom 404 document.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.