17488 Posts in 4473 Topics by 1978 members
|Go to End|
31 January 2008 at 11:06pm
I'm running silverstripe 2.1.0 and I'm having problems with my meta keywords being cut short.
E.g. <meta name="keywords" http-equiv="keywords" content="christchurch website design, christchurch web site design, christchurch website designers, new zealand web site design company, christchurch website design company, website design, new zealand website designers, new zealand web site designers, website d" />
Notice the last keyword finishes with d that's meant to be designers.
Does anyone one know why this might be happening?
1 February 2008 at 5:59am
My guess is that for the db a Varchar is used and you are exceeding the allowed width.
Try changing it in sapphire/core/model/sitetree.php
at line 73 it says
"MetaKeywords" => "Varchar(255)",
if you change that too something like
"MetaKeywords" => "Text",
does that solve it? (you probly have to flush/ and rebuild the db )
|Go to Top|