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.

CommentFileSizeAuthor
#1 metatag-n1820374.patch475 bytesdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new475 bytes

This replaces <front> with $GLOBALS['base_url'] . base_path() . '<front>'.

Incidentally, this will help Domain Access to have different values for each site's homepage.

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

damienmckenna’s picture

Status: Fixed » Closed (fixed)

This has been released in 1.0-beta2: http://drupal.org/node/1826908