Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 redirection #6

Closed
teddyrised opened this issue Jul 23, 2010 · 4 comments
Closed

404 redirection #6

teddyrised opened this issue Jul 23, 2010 · 4 comments

Comments

@teddyrised
Copy link

I've recently installed lessnmore, everything is working fine except for the 404 redirection. In the /-/config.php, I have modified the value for ERROR_404_URL so that it will point to a custom 404 error page. However, whenever I try to get a 404 error, I arrive at a page with a simple message (printed by the die() function in /index.php).

May I know how should I override this? Thanks!

@alanhogan
Copy link
Owner

Glad to see Lessn More is working for you! I’ll take a look into this within a few days. (If I don’t, bug me — contact-at-alanhogan.com.) It’s possible that was never fully implemented; it’s been a few months since I looked at this project. We’ll get it working though!

@reaperhulk
Copy link

This diff will fix the bug (although since it's merely using a redirect it won't deliver the 404 header)
http://gist.github.com/554594

@alanhogan
Copy link
Owner

Adding support for redirection on 404. Closed by aafdf05. Thanks to reaperhulk for contributing a patch.

@alanhogan
Copy link
Owner

Fixed this in development. Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants