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.
Hi, whenever a question is posted it gets a nice URL alias http://example.org/groups/groupname/question-title The URL alias for the answer is http://example.org/groups/groupname/answer-title not http://example.org/groups/groupname/question-title/answer-title (as I expected).
I find this very annoying because:
1) The answer is "using up" an alias that might be needed for a question.
2) The (answer) URL doesn't indicate any relationship between to the related question.
Unfortunately we run version 3.8 so this might be fixed already? Or maybe I'm the only one that finds this annoying.
Comments
Comment #1
japerryThanks, this should have been fixed a while back. This patch puts the answer url under the question URL.
There is a related issue around OG path aliases not working, but thats not related to this item. Once OG fixes the og_node_ref:title token issue, you should see the full group/group-name/content-name instead of group/content-name.
This patch also doesn't change any existing paths, only new ones going forward. Its upto the site owner to audit answer URLs and make sure they follow the new pattern.