Problem/motivation
The <title> element is not correct on CiviCRM Event pages, on Drupal installations using Metatag.
Details
Metatag caches meta tags and <title> tags. The problem is that CiviCRM events all have the same URL end point, with different query strings to differentiate them, ie:
civicrm/event/info?reset=1&id=1
civicrm/event/info?reset=1&id=2
etc...
Metatag sees these as one event and caches the <title>
Proposed solution
One possible solution would be for metatag to cache based on full URL including the query string? Or this could be an option/sub-module?
Comments
Comment #1
damienmckennaIf they are normal nodes it should Just Work(tm). I'm personally not going to touch CiviCRM, but if if any patches are necessary I'll be happy to review them.
Comment #2
damienmckennaUnless someone can explain otherwise, this should Just Work if the events are indeed just nodes.
Comment #3
jkingsnorth commentedHi, I can confirm this is an issue for sites using CiviCRM. I've updated the issue summary with more information about the issue and posted the issue to the CiviCRM forum as well: http://forum.civicrm.org/index.php/topic,32375.0.html
A temporary solution is just to leave the 'Page title' pattern for the 'Global' metatag settings empty. It will then default to the Drupal default without caching which works.
Comment #4
damienmckennaClosed a duplicate: #2230717: CiviEvent Page Titles
Comment #5
damienmckennaComment #6
jkingsnorth commentedI believe this is actually now fixed on the CiviCRM side: https://issues.civicrm.org/jira/browse/CRM-15140