Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2012 at 02:38 UTC
Updated:
30 Oct 2012 at 12:04 UTC
Jump to comment: Most recent file
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