http-redirectdrupaldrupal-path-aliases

Drupal 7 some non-existing URLs are not Redirecting to 404?


In Drupal 7, some of (non-existing) URLs are not redirecting to 404 or any error page it should. Instead, it still remains showing its Top Parent Folder. For example like:

Every WRONG URLs under /items/ i put like above, are showing the Page of its parent:
www.mywebsite.com/items instead of get redirected to 404
I don't want its parent to be shown if there is no page really.

But the strange thing is, it is NOT happening on every patterns. I mean, another different parents like:

For the wrong url typed-in under this /users/ parent path, it is CORRECTLY redirecting to the 404 page.

What is it please?


Solution

  • Look at this, really helpfull http://peterpetrik.com/blog/2009/11/non-existent-urls-views-2