zybxtv Posted April 3, 2012 Share Posted April 3, 2012 the default max number of homepage's(index.php) meta description or meta keywords is 255, is that possible we can setup over 255, I see lots website homepage's description or keywords are more over 255. anyone can tell me ? thank you very much! Link to comment Share on other sites More sharing options...
phrasespot Posted April 6, 2012 Share Posted April 6, 2012 A post about this exact issue (and its solution) has been posted in the last 10 days or so. Search and post here again if you cannopt find it. Link to comment Share on other sites More sharing options...
tdr170 Posted April 6, 2012 Share Posted April 6, 2012 Before you spend a lot of valuable time please just read this. http://www.highrankings.com/metakeyword Link to comment Share on other sites More sharing options...
zybxtv Posted April 7, 2012 Author Share Posted April 7, 2012 sorry, I couldn't find the page (A post about this exact issue (and its solution) has been posted in the last 10 days or so.)which you talking about, can you show me where is that ? Link to comment Share on other sites More sharing options...
zybxtv Posted April 7, 2012 Author Share Posted April 7, 2012 anyone , like you PrestaShop Fanatic, please help me ! thanks! Link to comment Share on other sites More sharing options...
phrasespot Posted April 7, 2012 Share Posted April 7, 2012 Take a database backup. Locate the table PREFIX_meta_lang, using PHPMyAdmin or similar change the column types as follows: meta_lang.description from VARCHAR(255) to VARCHAR(1024) meta_lang.keywords from VARCHAR(255) to VARCHAR(1024) Then locate the file /classes/Meta.php, change: protected $fieldsSizeLang = array('title' => 128, 'description' => 255, 'keywords' => 255, 'url_rewrite' => 255); to protected $fieldsSizeLang = array('title' => 128, 'description' =>1024, 'keywords' => 1024, 'url_rewrite' => 255); You should reeally read what @tdr170 posted. Link to comment Share on other sites More sharing options...
zybxtv Posted April 7, 2012 Author Share Posted April 7, 2012 thank you very much for your response, but I am not smart for the program, would you mind tell me where the table PREFIX_meta_lang located? my prestashop version is 1.4.7.0, thanks again! Link to comment Share on other sites More sharing options...
phrasespot Posted April 8, 2012 Share Posted April 8, 2012 It is one of the tables in the DB PrestaShop uses, and but I am not smart for the program Watch what you are doing, or get someone to do it for you. Link to comment Share on other sites More sharing options...
zybxtv Posted April 8, 2012 Author Share Posted April 8, 2012 thank you very much, It did fix, I really appreciate you help!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now