Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » Why not to have tags in <title> ?

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 818 Views
  • OnebyOne
    Avatar
    Community Member
    54 Posts

    Why not to have tags in <title> ? Link to this post

    I was surprised that my piece of code is not working any more SS 2.3.5 and modules_blog_branches_0.3-r98066.

    I was using - until SS 2.3.3 and latest stable blog - this code

    <% if Tag %><title>$Tag » $MetaTitle » Your Site Name</title><% else %>
    <title>$MetaTitle » Your Site Name</title><% end_if %>

    Is almost six months i used that code with success.

    Andy do you have any idea if something regarding the $Tag has been changed for SS 2.3.5 and modules_blog_branches_0.3-r98066 ?

    Having the same title for tags is not good for SEO that's why for me is important to have $Tag in title !

    THX

  • OnebyOne
    Avatar
    Community Member
    54 Posts

    Re: Why not to have tags in <title> ? Link to this post

    up,

    I'll post an up till get an answer to this problem... On version 0.2.1 the trick with $Tag in meta titleworked with 0.3 and 2.3.6 not..

    thx

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