21286 Posts in 5733 Topics by 2602 members
|Go to End||Next >|
7 May 2009 at 6:03am
Is there a way to extend the Meta Keyword field as it seems to be cutting off after 255 chars?
7 May 2009 at 7:27am
Not really. The column type of MetaKeywords in MySQL is varchar, which has a 255 character limit.
Extending would mean changing the column type = messing around with core files.
Personally, I don't rate the importance of meta keywords too highly, so I wouldn't go out of my way trying to increase the field length, but that is just me
7 May 2009 at 7:52am
Well I have one p*ssed off client and to be honest I don't blame him, keywords have their place, admittedly not as important as they once were but still....limiting the field to a 255 VarChar is just plain daft, sigh. Yet more SS nonsense...getting to the end of my patience with some of these 'features' tbh....
7 May 2009 at 3:14pm
You could create your own Text field in Page.php then include in with the relevant tags around it in the Head of the template, then use is as an alternative to the built in meta-tags.
9 May 2009 at 12:10am
Seems in 2.3 the best way to achieve a more verbose keyword structure is to keep the keyword field blank and just input the keyword Meta tag plus keywords into the Custom Meta Tags Field instead.
Shame no one from SS saw this post in time to reply with that suggestion, but that's the answer that offers the least pain and remains unaffected by future upgrades or patches (unless the Custom function gets dropped in a future edition that is) for now until the keyword field VarChar is changed.
22 May 2009 at 10:12am
I'm running into this problem as well. My client spent a good amount of time inputting keywords, only to find out it removed all but 255 characters after he saved the page. This seems like something that was overlooked by the SilverStripe team. This field should have a Text datatype. It's obvious this field type was the original intention because of the large size of the textarea.
22 May 2009 at 12:01pm
This seems like something that was overlooked by the SilverStripe team..
Well apart from reading this thread I would have thought MetaKeywords greater then 255 characters was an edge case rather then the norm?. Maybe I just haven't cared too much for SEO to worry about it
Ok so lets improve on what we have currently but deciding the best way to go about this -
a) Make it a Text Field - would result in a (small) DB overhead for a (small?) group of users benefit. Is > 255 really needed for everysite or is it just this one.
b) Make the MetaKeywords box smaller to convey they should only have 255. No need for a DB table change. Will stop confusion, give a user a good indication.
c) Leave it as it is.
I think making it a Text DBField is worth any tiny tiny DB overhead. What do you guys think? If no complaints then I will change it for the next 2.4 release.
22 May 2009 at 12:20pm
I think it would be a good call if it's do-able, a lot of sites I come across would use a keyword range larger than 255 chars. I stick to around 500 ish myself (maybe a bit more for meta desc) with our own CMS's with a small js count down script so clients know when they are getting to the end and not wishing to brag but our clients enjoy a good rating in G & Y and verbose keywords would be just one (small but investable) part of a comprehensive approach to SEO we take.
|Go to Top||Next >|