Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Multiple <title> 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: 1005 Views
  • staple
    Avatar
    Community Member
    7 Posts

    Multiple <title> tags Link to this post

    Hi there,

    First..this is not a fresh install so maybe the installer changed something..

    For some reason in the markup I have two <title> tags - page.ss looks like the below - if you visit www.sisusoftware.com and view the source you will see that $MetaTags is adding a second <title> - any ideas??

    <head>
          <title>Sisu Software - $Title</title>
          <% base_tag %>
          $MetaTags
          <link rel="shortcut icon" href="/favicon.ico" />
          
          <!--[if IE 6]>
             <style type="text/css">

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: Multiple <title> tags Link to this post

    If you're using a custom <title> tag in your template, you need to use "$MetaTags(false)" to stop it automatically inserting another tag.

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