It will be good to increase meta tag max length. It currently set to 255. I'm understand that having very long descriptions is not a good, but in some cases used length are longer. Maybe better increase it to 512?

Comments

drupalninja99’s picture

Status: Active » Patch (to be ported)

Can we just remove it all together? The max-length is completely arbitrary bc this is not a storage limitation. Many site editors pack a TON of keywords (I know with little or no search engine impact) and this is really bogging us down.

# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -88,7 +88,6 @@
       '#default_value' => isset($this->data['value']) ? $this->data['value'] : '',
       '#element_validate' => array('token_element_validate'),
       '#token_types' => $options['token types'],
-      '#maxlength' => 255,
     );
 
     return $form;
drupalninja99’s picture

Version: 7.x-1.0-alpha4 » 7.x-1.0-alpha6

This patch was from alpha6

damienmckenna’s picture

Version: 7.x-1.0-alpha6 » 7.x-1.x-dev
Status: Patch (to be ported) » Active

The default value for #maxlength is 128, so we *need* this.

damienmckenna’s picture

Status: Active » Postponed

Leaving this on the backburner for now, the field can be altered using hook_form_alter() if need.

damienmckenna’s picture

Status: Postponed » Closed (duplicate)

Actually I'm going to mark this as a duplicate of #1715262: Meta description too short, which has a patch file that increase the limit to 1024.

damienmckenna’s picture

Issue summary: View changes

fix spelling