Typoscript configuration of metatags: title, description, keywords


/ Published in: TYPO3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ### Custom/Default SEO Config (titles & tags). ###
  2.  
  3. # suppress default title tag
  4. config.noPageTitle = 2
  5.  
  6. # declare a page header text object
  7. page.headerData.10 = TEXT
  8.  
  9. # use page subtitle field first; otherwise use page title field
  10. page.headerData.10.field = subtitle // title
  11.  
  12.  
  13. ### 3. Metatags: Edit This Section ###
  14.  
  15. page.headerData.10.noTrimWrap = |<title> | / Site Name / Location </title>|
  16.  
  17. # These will be the default keywords and description for any page that does not have them set
  18. page.meta.keywords = keyword 1, keyword 2, keyword 3, etc.
  19. page.meta.description = This is the meta description
  20.  
  21.  
  22. ### End Edit ###
  23.  
  24. page.meta.keywords.override.field = keywords
  25. page.meta.description.override.field = description

URL: http://www.seethroughweb.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.