Answers.Body: <p>So for Craft 2.x, what I'd suggest is just doing this via Twig. This is discussed here: <a href="https://github.com/nystudio107/seomatic/wiki/10.-Dynamic-Twig-SEO-Meta" rel="nofollow noreferrer">https://github.com/nystudio107/seomatic/wiki/10.-Dynamic-Twig-SEO-Meta</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-27T18:34:48.257Z
Answers.LastActivityDate: 2018-11-27T18:34:48.257Z
Answers.UserDisplayName: andrew.welch
Body: <p>We have a Craft site with nearly 800 entries. For SEO purposes we need to change the page title and page (SEO) description for each entry, a laborious task to say the least. </p>
  
  <p>Is there a way to have, say, a PageTitle variable which we apply to all entries with SEOmatic, and if we need to change the structure of the title, we just have to change the PageTitle variable once. This variable itself would have variables within it, e.g:</p>
  
  <blockquote>
    <p>Beautiful {villaBedrooms} bedroom villa in {villaLocation.last.title}, Bali. From just ${villaPrice}. {villaHook} </p>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-27T04:26:37.730Z
Comments.Text: Is this SEOmatic for Craft 3.x, or Craft 2.x?
Comments.UserDisplayName: andrew.welch
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-27T05:02:39.423Z
Comments.Text: Sorry, this is Craft 2.7 and SEOmatic 1.1.56
  
  Kind regards,
  Matt
Comments.UserDisplayName: Matt
Tags: <variable><globals><plugin-seomatic>
Title: SEOmatic and Global Variables
ThreadText: # SEOmatic and Global Variables
  
  (Asked by: username_0 on 2018-11-27)
  
  We have a Craft site with nearly 800 entries. For SEO purposes we need to change the page title and page (SEO) description for each entry, a laborious task to say the least.
  
  Is there a way to have, say, a PageTitle variable which we apply to all entries with SEOmatic, and if we need to change the structure of the title, we just have to change the PageTitle variable once. This variable itself would have variables within it, e.g:
  
  > Beautiful {villaBedrooms} bedroom villa in {villaLocation.last.title}, Bali. From just ${villaPrice}. {villaHook}
  
  **Tags:** variable, globals, plugin-seomatic
  
  > **Comments:**
  > **username_1**: Is this SEOmatic for Craft 3.x, or Craft 2.x?  
  > **username_0**: Sorry, this is Craft 2.7 and SEOmatic 1.1.56  Kind regards, username_0  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-27. Score: 0 | Accepted answer
  
  So for Craft 2.x, what I'd suggest is just doing this via Twig. This is discussed here: <https://github.com/nystudio107/seomatic/wiki/10.-Dynamic-Twig-SEO-Meta>
  
  
  ---
  
  