.htaccess 404 redirect - http-statuscode

Discussion corner for Developers of Serendipity.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: .htaccess 404 redirect - http-statuscode

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: .htaccess 404 redirect - http-statuscode

Post by bernd_d »

Perfect!

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

Many thanks!
Post Reply