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 There,
I've tried your module, but there is a problem. You cannot use hook_page_alter for this, because this hook won't get fired for cached pages. You need a hook that fires even if a page is cached, like hook_boot.
Regards, Kobus.
Comments