Jump to:

22979 Posts in 11760 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » $MetaKeywords not displaying anything

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 220 Views
  • vxd
    Avatar
    Community Member
    16 Posts

    $MetaKeywords not displaying anything Link to this post

    Hi All,

    ss 3.1

    I have this <meta name="keywords" content="$MetaKeywords" /> in my header and is not displaying any data.

    <meta name="description" content="$MetaDescription" />

    works.

    I do have data in the meta keywords field.

  • OZROD
    Avatar
    Community Member
    5 Posts

    Re: $MetaKeywords not displaying anything Link to this post

    Hi vxd,

    In case you're still waiting for an answer. I've just come across the same issue, but got around it by typing the actual "html syntax" for "Tags" under "Metadata" and that works for me now. I did try $MetaKeywords without avail.

    Rodrigo

  • vxd
    Avatar
    Community Member
    16 Posts

    Re: $MetaKeywords not displaying anything Link to this post

    Hi OZROD,

    Thanks for the response. I never actually figured this one out.

    but got around it by typing the actual "html syntax" for "Tags" under "Metadata"

    Do you have an example of this. Not sure what you mean.

  • thomas.paulson
    Avatar
    Community Member
    44 Posts

    Re: $MetaKeywords not displaying anything Link to this post

    Hi

    we can print meta tags, as below
       $ExtraMeta

    also make sure to add below entry in 'custom metas tags' in meta section using admin side

    <meta name="keywords" content="MetaKeywords" />

    220 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.