HH Services Limited Posted July 21, 2014 Share Posted July 21, 2014 Hello everybody, I was advised in some articles to add some meta tags to my header.tpl file in themes/defaultbootstrap, a meta description and meta keywords, but even though it went perfect to the homepage (it went from having nothing to having meta description and meta keywords), it created duplicated description to the rest of the pages...I was told so by google webmasters tool How can I add a description and keywords to the home page, and keywords to the products pages (dont come with prestashop 1.6) if Im using the default theme? Anybody knows? Thank you. Link to comment Share on other sites More sharing options...
NemoPS Posted July 21, 2014 Share Posted July 21, 2014 Ignore keywords As for meta desc, you can add it to the 'index' page in SEO and URLs In the bo For products, from a product config page, seo tab 1 Link to comment Share on other sites More sharing options...
HH Services Limited Posted July 21, 2014 Author Share Posted July 21, 2014 Thank you Nemo, In the BO I can add descriptions to categories and products, but not the home page... Do you know where I can add it to the front office in a way that it will not affect the rest of the pages that have it already (so that I dont get penalized for having duplicates?) Thank you again.. Link to comment Share on other sites More sharing options...
NemoPS Posted July 23, 2014 Share Posted July 23, 2014 no? but it's there in SEO and URLs, just hit index and you can change the homepage metas Or do you get any error? 2 Link to comment Share on other sites More sharing options...
HH Services Limited Posted July 23, 2014 Author Share Posted July 23, 2014 You hit the nail once again Nemo.. Thank you so much.. Link to comment Share on other sites More sharing options...
ppokrovsky Posted November 16, 2014 Share Posted November 16, 2014 Figured all you need to do in 1.6.0.8 (at least), is to remove 'hide' class from following block in admin/themes/default/template/controllers/products/seo.tpl {* Removed for simplicity *}<div class="form-group hide"><label class="control-label col-lg-3" for="meta_keywords_{$id_lang}">{include file="controllers/products/multishop/checkbox.tpl" field="meta_keywords" type="default" multilang="true"}<span class="label-tooltip" data-toggle="tooltip"title="{l s='Keywords for search engines, separated by commas.'}">{l s='Meta keywords'}</span></label><div class="col-lg-8">{include file="controllers/products/input_text_lang.tpl" languages=$languagesinput_value=$product->meta_keywordsinput_name='meta_keywords'}</div></div> It appears that meta keywords functionality still present in code, it is simply hidden in layout. I didnot thoroughly test the changes, although everything seem to work just fine. Use it on your own risk. 2 Link to comment Share on other sites More sharing options...
Recommended Posts