Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Blog Module /

Discuss the Blog Module.

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

Why not to have tags in <title> ?


Go to End


2 Posts   1284 Views

Avatar
OnebyOne

Community Member, 54 Posts

5 February 2010 at 8:19am

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

Avatar
OnebyOne

Community Member, 54 Posts

17 February 2010 at 10:08pm

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