Maxlength should be set to a large value or user should be able to set it

lolmaus - October 16, 2009 - 07:21
Project:Page Title
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Hi!

I know that title should not be larger than 80 chars and 255 chars is more than enough for most cases.

But it's user who should deside what limitation to have.

80 chars was enough for me until we hired a SEO agency. They told us to put looong texts in titles, otherwise our money will be wasted.

To do this, i'll have to hack your module. :(

But why do me and others like me have to hack it? Why not remove the limitation (set the length to 999 or 9999) and just add a comment below the field that it should not be longer than 80 chars.

Alternatively, you can let user to set the limitation in module's settings.

Thx

#1

nicholasThompson - October 16, 2009 - 07:44
Status:active» won't fix

Firstly, as you said 80 is recommended. More than 255 is absolutely pointless. I'd put money on Google & Co not just ignoring any more than 80, but punishing for more than 255. I advise you to do a little research as to why your SEO company is advising you to do something this risky. The way I've always thought about the Page Title is to think if it as having a fixed 'score' which gets shared out over all the keywords in the title. More words = a diluted title. Finally, think about when YOU search. Do you EVER see more than 40 characters per title appear on the SERP's?

Secondly, changing the maxlength on the field size isn't enough. I'd also have to alter the database column type. Varchar's can only take 255 chars max.

This is too edge case & risky for me. Sorry.

#2

lolmaus - November 23, 2009 - 08:26
Version:6.x-2.2» 6.x-2.x-dev
Status:won't fix» active

Dear nicholasThompson,

i've noticed that the NodeWords module has extended the length of fields to 350 characters.

Here's what module's developers say:

The default maximum meta tags length has been extended to 350 characters to improve Google results pages. See Two new improvements to Google results pages in the official Google blog for more information.

Our SEO agency insists we have titles over 255 chars and now i see that their demand is a necessity, not just a caprice.

That's why i set this feature request back to active. Thank you for your time and attention. ^_^

#3

nicholasThompson - November 23, 2009 - 16:21
Status:active» won't fix

That's fine for the meta description. But nothing on that page mentions Google changing their policy on the Page Title.

See: http://www.seologic.com/faq/title-tags.php#limits

As stated in my previous post, extending the field is just the beginning. An alter would have to be run on the database table to change the field type from VARCHAR to TEXT.

 
 

Drupal is a registered trademark of Dries Buytaert.