Jump to:

22977 Posts in 11742 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Meta tags

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: 433 Views
  • Slk
    Avatar
    Community Member
    3 Posts

    Meta tags Link to this post

    Hi

    I am Trying to use $metatags in the <head> section of my .ss pages but it appears at the top of my page
    How do I hide this?

  • martimiz
    Avatar
    Forum Moderator
    1037 Posts

    Re: Meta tags Link to this post

    I think it should be  $MetaTags (camelcase), but apart from that:

    do you mean something is actually displayed at the top of your page on the website? In that case take a look at the HTML source of your generated page and check if something is wrong there (missing tags maybe)

  • bartvanirsel
    Avatar
    Community Member
    88 Posts

    Re: Meta tags Link to this post

    Or maybe you mean the fact that using Custom meta tags in the cms end up on the page?

  • Slk
    Avatar
    Community Member
    3 Posts

    Re: Meta tags Link to this post

    I type meta tags into the CMS and it shows up at the top of my page.
    They were not showing on the page prior to me adding $metatags so I added it to my .ss pages in themes in the head section and they appear in view source in the head and the body.

    433 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.