Page 2 of 2

Re: .htaccess 404 redirect - http-statuscode

Posted: Thu Aug 26, 2010 12:28 pm
by garvinhicking
Hi!

Ah, I wish I hadn't broken my local installation so that I could test things easier. I just saw the proper variable would be $GLOBALS['serendipity']['GET']['subpage'] (equals $serendipity['GET']['subpage']). This variable should be set inside serendipity_config.inc.php and be available later on.

Regards,
Garvin

Re: .htaccess 404 redirect - http-statuscode

Posted: Thu Aug 26, 2010 12:38 pm
by bernd_d
Perfect!

http://blog.example.org/asdadsfasdfds delivers status 404 within my template! 8)

Many thanks!