Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Yes, Keys allows the use of separate keys based on URL strings, not just domain names. You can use anything from 'http:/mydomain.com/my/page' to simply 'mydomain.com'. The keys set to 'mydomain.com' will take precedence to keys set to 'http:/mydomain.com/my/page' if both are returned TRUE.
Comments
Comment #1
greenskin commentedYes, Keys allows the use of separate keys based on URL strings, not just domain names. You can use anything from 'http:/mydomain.com/my/page' to simply 'mydomain.com'. The keys set to 'mydomain.com' will take precedence to keys set to 'http:/mydomain.com/my/page' if both are returned TRUE.
Comment #2
shadcn commentedComment #4
webwriter commentedThis has recently stopped working and now I get a warning on every page that displays a map that a new API key is needed.