ASPX templates
Version 5.x > ASPX templates > Title Tag View modes: 
User avatar
Member
Member
lwhittemore-emh - 6/1/2011 3:09:41 PM
   
Title Tag
How can I have kentico generate the title tag before all the other meta tags in the head instead of as the very last item?

Thanks

User avatar
Member
Member
kentico_michal - 6/2/2011 1:37:57 AM
   
RE:Title Tag
Hello,

The position of the title tag is determined by the position of title on the master page. So, could you please check the code of the master page for ASPX templates and change it if necessary?

So, for example in this case the title is defined before meta tags and it will be replaced by the title specified in the Kentico CMS system:

<head runat="server" enableviewstate="false">
<title id="Title1" runat="server">My site</title>
<asp:Literal runat="server" ID="ltlTags" EnableViewState="false" />
</head>


For more information about ASPX master pages, please visit this section of Developer's guide:
Creating ASPX master page


Best regards,
Michal Legen