Post by yuwenlong126 » Mon Jul 27, 2009 5:18 pm

66 characters is really small for a meta description,how to change it to 160, i don't know where i can do.

Daniel said that edit the string length in the admin/controller/setting/setting.php

but edit which line?
maybe not the setting.php file!

your helps will be appreciated

Newbie

Posts

Joined
Sat Jul 18, 2009 9:26 pm

Post by phpuk » Mon Jul 27, 2009 7:20 pm

try editing the following line which is around 382 in settings.php

Code: Select all

      	if (strlen(utf8_decode($this->request->post['config_meta_description'])) > 66) {
        	$this->error['meta_description'] = $this->language->get('error_meta_description');
      	}

Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am

Post by yuwenlong126 » Tue Jul 28, 2009 12:25 pm

phpuk wrote:try editing the following line which is around 382 in settings.php

Code: Select all

      	if (strlen(utf8_decode($this->request->post['config_meta_description'])) > 66) {
        	$this->error['meta_description'] = $this->language->get('error_meta_description');
      	}

i change the number 66 to 180,but when i login admin, the product meta description also warning me:meta description must be less than 66 characters!

why?

Newbie

Posts

Joined
Sat Jul 18, 2009 9:26 pm
Who is online

Users browsing this forum: No registered users and 113 guests