badger1010 Posted July 27, 2010 Share Posted July 27, 2010 Can anyone tell me how to stop the company name appearing in the title bar on the index page.I've filled in the text I want in Preferences>Meta-tags, but still the company name appears first.This is not good for search engine results.PS ver 1.2.5.Thanks in advance for any help. Link to comment Share on other sites More sharing options...
rocky Posted July 28, 2010 Share Posted July 28, 2010 You'll need to edit classes/Tools.php and comment out the following on line 493, 509 and 523 (in PrestaShop v1.3.1): $row['meta_title'] = $row['meta_title'].' - '.Configuration::get('PS_SHOP_NAME'); and change line 545 from: $ret['meta_title'] = (isset($metas['title']) AND $metas['title']) ? Configuration::get('PS_SHOP_NAME').' - '.$metas['title'] : Configuration::get('PS_SHOP_NAME'); to: $ret['meta_title'] = (isset($metas['title']) AND $metas['title']) ? /*Configuration::get('PS_SHOP_NAME').' - '.*/$metas['title'] : Configuration::get('PS_SHOP_NAME'); and comment out the following line 576 from: $metaTags['meta_title'] = Configuration::get('PS_SHOP_NAME').' - '.$defaultValue; to: $metaTags['meta_title'] = /*Configuration::get('PS_SHOP_NAME').' - '.*/$defaultValue; Link to comment Share on other sites More sharing options...
badger1010 Posted July 28, 2010 Author Share Posted July 28, 2010 Thanks Rocky, will give it a go. 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