In metatag_entity_view() the $cid_parts array is built using the full hostname for the URL value. The logic for building the $cid_parts array for the front page does not include the full URL, just the usual <front> shorthand.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | metatag-n1820374.patch | 475 bytes | damienmckenna |
Comments
Comment #1
damienmckennaThis replaces
<front>with$GLOBALS['base_url'] . base_path() . '<front>'.Incidentally, this will help Domain Access to have different values for each site's homepage.
Comment #2
damienmckennaCommitted.
Comment #3
damienmckennaThis has been released in 1.0-beta2: http://drupal.org/node/1826908