Page 1 of 1

Meta Tag Description must be less than 66 characters!

Posted: Fri Jun 19, 2009 5:24 am
by SparxGroup
Can we increase this, 66 characters is really small for a meta description!! :)

Re: Meta Tag Description must be less than 66 characters!

Posted: Fri Jun 19, 2009 5:29 am
by Daniel
its the recommend size for the search engines.

Re: Meta Tag Description must be less than 66 characters!

Posted: Fri Jun 19, 2009 5:46 am
by SparxGroup
Really, seems a bit small! Will the new version of OpenCart have more SEO fields for Title, and Keywords for at least the index page?

Cheers Dan

Re: Meta Tag Description must be less than 66 characters!

Posted: Fri Jun 19, 2009 6:05 am
by Daniel
it already has titles. keywords are not really used any more.

Re: Meta Tag Description must be less than 66 characters!

Posted: Fri Jul 10, 2009 11:19 pm
by craig22
i thougth 66 was for titles not descriptions is it possible to make it bigger

Re: Meta Tag Description must be less than 66 characters!

Posted: Tue Jul 14, 2009 1:54 am
by julianlockhart
Yes this is correct:
i thougth 66 was for titles not descriptions is it possible to make it bigger
Meta tag titles are limited in displaying in search engines to 66(google) I think yahoo is a little bigger.

Meta Tag Description can be much longer.

You can edit the string length in the admin/controller/setting/setting.php

HTH

Re: Meta Tag Description must be less than 66 characters!

Posted: Mon Jul 27, 2009 4:47 pm
by yuwenlong126
julianlockhart wrote:Yes this is correct:
i thougth 66 was for titles not descriptions is it possible to make it bigger
Meta tag titles are limited in displaying in search engines to 66(google) I think yahoo is a little bigger.

Meta Tag Description can be much longer.

You can edit the string length in the admin/controller/setting/setting.php

HTH

how to chang, your help wil be appreciated

Re: Meta Tag Description must be less than 66 characters!

Posted: Tue Jul 28, 2009 1:06 am
by codeweaver
Daniel wrote:it already has titles. keywords are not really used any more.
Title is still used Daniel.

Also, it is important that we need to be able to be able to create a title that has a call to action.

e.g.

Product Name :: Store Name
This looks pretty... but pretty pedictable too.

FInd The Best Priced Product Name & Other Pioneer Products :: Shop Name
Now this will get 1/3 more clicks in the SERPs.

Re: Meta Tag Description must be less than 66 characters!

Posted: Tue Jul 28, 2009 12:32 pm
by yuwenlong126
hi Daniel

I am a SEO enginner, the title and meta descripition also is usefull for Page rank!

Re: Meta Tag Description must be less than 66 characters!

Posted: Tue Jul 28, 2009 5:55 pm
by codeweaver
Daniel wrote:its the recommend size for the search engines.
Daniel,

I have just had to adjust categories, products etc in the database and the categories.php and product.php files to allow longer meta descriptions.

Could you PLEASE change it back to at least 150 chars?

Also, I cannot upgrade a client from an earlier version, becuase if I do, your new database schema will cut off all their meta descriptions.

Sorry Daniel, opencart is a create product, but this was a mistake. Meta descriptions should be at around 150.

Re: Meta Tag Description must be less than 66 characters!

Posted: Tue Jul 28, 2009 6:03 pm
by codeweaver
How to change this back:

Loginto your database using phpMyAdmin:

Find the table "category_description" edit the field "meta_description" and change the length from 66 to 150.
Do the same with the "product_description" table.

Next edit the following files:

Open this file:
admin / controller / catalog / category.php
Find line number 248 or just look for this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 66) {
Replace with this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 150) {
Next open file:
admin / controller / catalog / producct.php
Find line number 715 or just look for this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 66) {
Replace with this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 150) {

Re: Meta Tag Description must be less than 66 characters!

Posted: Wed Jul 29, 2009 9:52 pm
by yuwenlong126
codeweaver wrote:How to change this back:

Loginto your database using phpMyAdmin:

Find the table "category_description" edit the field "meta_description" and change the length from 66 to 150.
Do the same with the "product_description" table.

Next edit the following files:

Open this file:
admin / controller / catalog / category.php
Find line number 248 or just look for this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 66) {
Replace with this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 150) {
Next open file:
admin / controller / catalog / producct.php
Find line number 715 or just look for this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 66) {
Replace with this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 150) {
thanks for your solution,after i did it as you said ,but failed!

Re: Meta Tag Description must be less than 66 characters!

Posted: Thu Jul 30, 2009 1:47 am
by adokilla
Hello everyone, i am trying to increase 24 to 100 characters for models, i cannot seem to find the model in phpmyadmin since it is only from 3 to 24 characters i would like to to 100 this is the code i modified

if ((strlen(utf8_decode($this->request->post['model'])) < 3) || (strlen(utf8_decode($this->request->post['model'])) > 100)) {
$this->error['model'] = $this->language->get('error_model');

Thank you.

Re: Meta Tag Description must be less than 66 characters!

Posted: Thu Jul 30, 2009 1:53 am
by iloveopencart
The 'model' field is stored in the 'product' table. It is set as varchar(24) - change it to varchar(100).

Re: Meta Tag Description must be less than 66 characters!

Posted: Thu Jul 30, 2009 3:01 am
by adokilla
i found the char24 but i am not sure how to edit it if you could please let me know i would really appreciate the support thank you.

Re: Meta Tag Description must be less than 66 characters!

Posted: Thu Jul 30, 2009 4:16 am
by iloveopencart
Here's a screenshot of where to find it and what field to edit. Click on the 'product' table, select the Structure tab, click the pencil icon (circled), then enter 100 for the Length/Values (also circled).

Image

Re: Meta Tag Description must be less than 66 characters!

Posted: Thu Jul 30, 2009 8:52 pm
by adokilla
Thank you i found it, i have changed both fields but now i can insert up to 100 characters and it doesnt give me that warning but the problem is on the website it only shows up to 24 characters? do i have to do any re alignment with the layout?

here is some screen shoots in related to what i mean. and again thank you very much for the support i really appreciate it.

Image

Image

Re: Meta Tag Description must be less than 66 characters!

Posted: Thu Jul 30, 2009 9:49 pm
by iloveopencart
There's only so much room for so many characters. I'm not sure why you are using the model number to display what the part is used for. I would have just put that in the description. You could, at this point, edit the product.tpl file and move it to the description area. Then you'd have enough space. As for the admin side, I would suggest you just remove the model column alltogether. 100 characters just takes up too much room.

Re: Meta Tag Description must be less than 66 characters!

Posted: Sun Aug 02, 2009 11:48 am
by nlgordaz
The meta description is not a significant factor for SEO.
SE's are programed to mimic users. Make your description any reasonable size. What's important is whether it accurately describes the th web page.

Re: Meta Tag Description must be less than 66 characters!

Posted: Tue Aug 04, 2009 1:20 am
by blueantz
yuwenlong126 wrote:
codeweaver wrote:How to change this back:

Loginto your database using phpMyAdmin:

Find the table "category_description" edit the field "meta_description" and change the length from 66 to 150.
Do the same with the "product_description" table.

Next edit the following files:

Open this file:
admin / controller / catalog / category.php
Find line number 248 or just look for this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 66) {
Replace with this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 150) {
Next open file:
admin / controller / catalog / producct.php
Find line number 715 or just look for this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 66) {
Replace with this:

Code: Select all

if (strlen(utf8_decode($value['meta_description'])) > 150) {
thanks for your solution,after i did it as you said ,but failed!
You also need to edit setting.php file in /admin/controller/setting folder
if (strlen(utf8_decode($this->request->post['config_meta_description'])) > 66)

Replace 66 with 150 and you should be good to go.