My SEO agency complains about the following:
Let's assume the URL http://example.com/foo leads to a non-existing page. Then Drupal correctly responds with a 404.
- if I call http://example.com/foo/ (with a trailing slash),
- Drupal first redirects to http://example.com/foo (without trailing slash)
- and only then responds with 404.
The SEO agency says that this way I loose "crawl equity".
The desired behaviour would be that
- I call http://example.com/foo/
- and immediately get a 404 page.
What is the best way to achieve this?