what is the maximum length for meta_keyword, meta_description and meta_title
-
22-10-2019 - |
Question
While Uploading CSV,
There are some constraints that we have to follow, Like lengths of the attributes :
Please Provide the length of following attributes:
"meta_keyword"
"meta_title"
"meta_description"
Attribute Reference from : Magento Go - Knowledge Base
Solution
The limit is determined by the database limit for the attributes.
meta_title
has the typevarchar
and is stored in the tablecatalog_product_entity_varchar
. The limit on thevalue
field of the table is 255.meta_description
andmeta_keywords
have the typetext
and is stored in the tablecatalog_product_entity_text
. The limit on thevalue
field of the table the limit of thetext
fields in mysql. Fortext
is "L + 2 bytes, where L < 216".
But the common sense says you shouldn't use large meta keywords and meta descriptions.
A meta description of 255 chars is more than enough.
As for meta keywords...you should ask a SEO expert on this, but I'm sure the recommended number does not go over 10.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange