Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm not sure if Global Redirect can fix this problem, but I'll explain the problem...
Here's an example of how Views functions, with regards to the URL problem:
- Create a view for page .com/news, with path "news"
- ".com/news" will work fine
- Going to ".com/news/yadayada" will show a page with the same content as ".com/news"
The problem is that accessing any URL in the pattern "...com/{view path}/{anything here}" displays duplicate content of "...com/{view path}"
By using crawler-tracking software, I've seen that spiders do crawl such pages. In some cases, I've seen Google index these pages as well.
Comments
Comment #1
leobossmann CreditAttribution: leobossmann as a volunteer commentedI know this issue is four years old, but I stumbled upon the same problem recently and found it, so here's the solution (if you want to call it that):
This is not a bug, it's a feature.
See https://api.drupal.org/api/drupal/includes%21menu.inc/group/menu/7.x: