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.
When you access a page that performs a drupal_goto() redirect, the title displayed on the subsequent page is incorrect.
For instance, if you visit /user as a non-logged in user, the page title displayed is "My account" even though the page displayed is the login page. But if you visit /user/login the title is "Login."
Comments
Comment #1
cossovich CreditAttribution: cossovich commentedI'm experiencing something similar on a project where it seems like the page title for a user page is displaying a cached version.
Comment #2
daggar CreditAttribution: daggar commentedI had the same problem with the 6.x-1.0 version. I fixed it by disabling the block-level caching (/admin/settings/performance -> block cache).
Comment #3
jpoesen CreditAttribution: jpoesen commentedUnable to reproduce on Drupal 7.
Can you provide exact steps to reproduce?
Thanks.
Comment #4
vuil