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.
Since users tend to link to what's in their URL bar, it would be desirable if the permanent (/node/something) URL was in the URL bar even if they arrived via a /title/something link. The attached patch fixes this.
This also fixes this bug.
Comment | File | Size | Author |
---|---|---|---|
title-2005-01-05-redirect-v01.patch | 576 bytes | inducer@news.tiker.net | |
Comments
Comment #1
kurkuma CreditAttribution: kurkuma commentedI have been using drupal_goto() instead of head() (in drupal 4.6.3) as it recomends in drupaldocs.org:
The code will be as follows (starting in line 45):
Comment #2
cybe CreditAttribution: cybe commentedOh =) It does work now.. Strange, last I tried it didn't... Thanks for the patches
Comment #3
cybe CreditAttribution: cybe commentedugh sorry, my last comment was meant for this thread: http://drupal.org/node/31069
Comment #4
Tobias Maier CreditAttribution: Tobias Maier commentedwhy not changing this back to code need review?
Comment #5
sunThe original Title module for Drupal 4.6 is obsolete, and going to be replaced with a completely different module.