Hi, on my site I have the following URL structure:
example.com/"termalias"/"date"/"title"

And I observe the following behaviour:
example.com/"termalias"/"something-random" ("termalias"/"something-random" is a non-existent alias) returns 200 and shows the contents of example.com/"termalias".

If some good guy adds a lot of malformed URLs such as these to search engines this probably could cause penalties from them.
Is there a way to redirect all malformed URLs to some closely matched URLs?

Comments

ShedPhotons’s picture

I am currently puzzling over the same problem. It won't do to have users land on the parent page of a partially malformed URL. We would far rather show a custom 404 page.

Edit: I see this is discussed at length under: https://drupal.org/node/1091068 - in part, this behavior is "by design".