Jump to content

http 404 renders home page instead of page not found template


pleini
 Share

Recommended Posts

I have problems with some 404 URLs, that are not rendering the page_not_found template but the home page template instead.

Normal URLs that don't exist

like

/this-page-does-not-exist

 are redirected to my 404 page without any problems.

But for URLs like 

/cool-page%20abc
/page&=123
/pagename'A

the home page is rendered. But when i am checking the webdeveloper console, the return code is 404

Do i miss some configuration? 

Thank you

 

status_code.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...