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.
After some internal issue and discussion I believe purl_goto() should use a 301 redirect by default.
301 is a permanent redirect
302 is a temporary redirect
If purl_goto()'s purpose is to redirect to the "correct" URL, It should use a 301 redirect. I can't think of a use case where PURL would be set up to use a temporary redirect. However this is just changing the default behavior and the redirect type can still be passed in.
Comment | File | Size | Author |
---|---|---|---|
#2 | purl_goto_should_use_a-2887807-2.patch | 527 bytes | djdevin |
Comments
Comment #2
djdevin