Vilas Posted December 6, 2010 Share Posted December 6, 2010 Dear Friends,I am unable to add more keywords on my listings. So can anyone have idea how to increase keyword limit.RegardsVilas Link to comment Share on other sites More sharing options...
rocky Posted December 6, 2010 Share Posted December 6, 2010 You need to edit your database using phpMyAdmin and increase the length of the meta_keywords field of the ps_product_lang table, then edit line 187 of classes/Product.php and increase the meta_keywords length there: protected $fieldsSizeLang = array('meta_description' => 255, 'meta_keywords' => 255, 1 Link to comment Share on other sites More sharing options...
Vilas Posted December 6, 2010 Author Share Posted December 6, 2010 Friend,I am unaware of phpMyAdmin how to use it and how to increase length through it. I have edited only product.php file. So can you tell me any other option to edit the database file.RegardsVilas Link to comment Share on other sites More sharing options...
rocky Posted December 6, 2010 Share Posted December 6, 2010 You can access phpMyAdmin from your cPanel. If you can't find it, you could try the phpMyAdmin module. Link to comment Share on other sites More sharing options...
Vilas Posted December 6, 2010 Author Share Posted December 6, 2010 Hi Friend,Thanks a lot for quick response. I will check and let you know if anything required.RegardsVilas Link to comment Share on other sites More sharing options...
Vilas Posted December 6, 2010 Author Share Posted December 6, 2010 Friend,I have done changes in database as suggested by you. The length of meta description is increased but for keywords its still showing error as""'" 1. the field keywords (English (English)) is too long (255 chars max)""""Please provide me solution for it.RegardsVilas Link to comment Share on other sites More sharing options...
FredActin Posted December 6, 2010 Share Posted December 6, 2010 Hi Vilas,I don't really understand why you want to have more than 255 characters in the meta-keyword... It is now known that all the major search engines don't give any importance to the meta-keyword. And even back in the days when it was important, it was bad practice and counter productive to put too many keywords.Or am I missing something?? Link to comment Share on other sites More sharing options...
rocky Posted December 6, 2010 Share Posted December 6, 2010 You must change the field size in two places as mentioned in my post above. If you miss one of them, you will get that error message. Check to make sure you have changed: metakeywords => 255 Increase the 255. Link to comment Share on other sites More sharing options...
Vilas Posted December 7, 2010 Author Share Posted December 7, 2010 Hi Friend,In given field also I have changed limit but still I am getting error. Meta keyword option I have not get in database. But in other product.php I have made changes ps_product_lang table field so please let me know in which field will we get option.RegardsVilas Link to comment Share on other sites More sharing options...
Vilas Posted December 7, 2010 Author Share Posted December 7, 2010 Dear FredActin,Thanks for support. Actually I am selling mobile phones home appliances that is the reason I am trying to use much more keywords. As I am unable to find out my website through entering product titles in google. Do you have any solution for it.RegardsVilas Link to comment Share on other sites More sharing options...
FredActin Posted December 7, 2010 Share Posted December 7, 2010 Well as I said Google does not use the meta-keyword tag any more.Source: GoogleThe description tag won't affect your ranking either, but you can try to make it compelling as it is often displayed on the search results page.The only one which is still considered is the title but there again, it is more efficient to focus on 1 or 2 keywords for each page. "Stuffing" your page with keywords will remove any credibility to your page and you won't go anywhere high on Google (or on any search engine)I'm not going to write a complete SEO guide here, I think there are plenty of resources available out there but please when you do your research on SEO only use sources that are less than 2 year old (even 1 year old of possible - I know my link to Google is more than a year old but I know the situation hasn't changed since then) Link to comment Share on other sites More sharing options...
Vilas Posted December 7, 2010 Author Share Posted December 7, 2010 Hi Friend,Thanks for support. Actually but my site is not search able through Google I just want to get any solution for it.RegardsVilas Link to comment Share on other sites More sharing options...
castiel Posted February 17, 2013 Share Posted February 17, 2013 I made the change suggested by rocky, and also to me clontinuava to give error, just because (in the case of ps 1.5.2) you have to make the change to the file Product.php line 289 'meta_keywords' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'size' => 255), to 'meta_keywords' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'size' => 500), Link to comment Share on other sites More sharing options...
mma87 Posted November 23, 2015 Share Posted November 23, 2015 Hi, if you use prestashop 1.6 you can edit the max-length of SEO editing {your_admin_folder}/themes/default/template/controllers/products/seo.tpl and change all the data eg. maxchar=260 maxlength=260 Matteo 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