Mister Denial Posted February 10, 2012 Share Posted February 10, 2012 Hi folks, I searched the forum for a solution to this, but apparently the code has changed, so the solutions I found are not working anymore. What I would like to do is to remove the shop name from the title tags. Currently PS automatically adds the shop name at the end of the title tag - I would like to NOT have the name auto included. Can someone assist me with this please? Your help is much appreciated. Kind regards, Dan Link to comment Share on other sites More sharing options...
phrasespot Posted February 13, 2012 Share Posted February 13, 2012 Assuming you are using 1.4, first make sure to give an actual title to every page (Back Office > Preferences > SEO & URLs) Then drop the attached file to /overrides/classes/ directory. Edit: version specific attachment removed 2 Link to comment Share on other sites More sharing options...
Mister Denial Posted February 14, 2012 Author Share Posted February 14, 2012 Hi phrasespot, thanks a lot, works like a charm! Thank you for your help, I really appreciate! Dan Link to comment Share on other sites More sharing options...
Garrik Posted February 20, 2012 Share Posted February 20, 2012 Hi phrasespot Assuming you are using 1.4, first make sure to give an actual title to every page (Back Office > Preferences > SEO & URLs) Then drop the attached file to /overrides/classes/ directory. What you mean "Then drop the attached file"? I have same problem like Mister Denial and i cannot find the solution. Thanks Link to comment Share on other sites More sharing options...
phrasespot Posted February 20, 2012 Share Posted February 20, 2012 What you mean "Then drop the attached file"?I have same problem like Mister Denial and i cannot find the solution. The file was specific to and dependant on the version in use therefore not suitable for general use. What is the version of PS you are using? Link to comment Share on other sites More sharing options...
Garrik Posted February 20, 2012 Share Posted February 20, 2012 Prestashop 1.4.6.2 , Velvet Sky theme. www.victoriasstyles.com . I can not delete automatically added shop name (because istead Victoria's Style the prestashop generated in title tag Victoria's Styles. The symbol ' was replaced by prestashop with '. Thanks for help Link to comment Share on other sites More sharing options...
phrasespot Posted February 22, 2012 Share Posted February 22, 2012 Prestashop 1.4.6.2For 1.4.6.2, may or may not work with other versions. Link to comment Share on other sites More sharing options...
akingston Posted March 9, 2012 Share Posted March 9, 2012 phrasepot could you possibly provide a solution for 1.4.7 as well. The attached one doesn't work. Or maybe you could explain what needs to be changed to remove the site title from the end of all title tags. Alternatively I would settle for being able to change " - " to " | " though. (If only Prestashop could learn from Wordpress when it comes to things like this!) Thanks for your help. Link to comment Share on other sites More sharing options...
phrasespot Posted March 9, 2012 Share Posted March 9, 2012 a solution for 1.4.7 Attached. May or may not work for later versions Link to comment Share on other sites More sharing options...
akingston Posted March 9, 2012 Share Posted March 9, 2012 Works a treat - thanks a million! Link to comment Share on other sites More sharing options...
spyboy023 Posted April 6, 2012 Share Posted April 6, 2012 Great, thank you very much, works like a charm Link to comment Share on other sites More sharing options...
Delica-te-zen Posted April 8, 2012 Share Posted April 8, 2012 Hi all, I was looking for the same, but sucess. I copied the file from phrasespot but once I put the file on this directory the shop stop working, not sure what to do. Actually I have on this directory a file _Tools.php, what exactly must I do? Erase the old one and let this new one? Copy the code and include it on the old one??? Thanks in advance for your reply. Link to comment Share on other sites More sharing options...
TheHat Posted May 22, 2012 Share Posted May 22, 2012 Attached. May or may not work for later versions Please could I have a copy for 1.4.7.3 Thanks Gary Link to comment Share on other sites More sharing options...
phrasespot Posted May 24, 2012 Share Posted May 24, 2012 Please could I have a copy for 1.4.7.3PM me and remind this weekend Link to comment Share on other sites More sharing options...
berta recchia Posted June 1, 2012 Share Posted June 1, 2012 (edited) don't see the attachment anymore. Can someone post the file to replace in the /overrides/classes/ for 1.4.6.2 ? I'm surprised presta still puts the shop name there.... Edited June 2, 2012 by berta recchia (see edit history) Link to comment Share on other sites More sharing options...
badger1010 Posted July 26, 2012 Share Posted July 26, 2012 Is there a fix available for 1.4.4.0 please? Link to comment Share on other sites More sharing options...
Mao Sait Tout Posted November 1, 2012 Share Posted November 1, 2012 Here a good article to remove shop name in meta title: The meta-data for all key pages in PrestaShop is controlled within the classes/Tools.php file. The code you need starts about line 610. The piece of code that refers to the page title (same for all pages home, manufacturers, products etc) and which calls/inserts the shop name into the page title looks like this: $row['meta_title'] = $row['meta_title'].”.Configuration::get(”); So, to remove the shop name from any given page change the code to this: $row['meta_title'] = $row['meta_title'].”.Configuration::get(”); or totally remove it. http://p2webdesign.w...rom-page-title/ This works for 1.4.8.2 Link to comment Share on other sites More sharing options...
smog20 Posted March 20, 2013 Share Posted March 20, 2013 Hi dear, What about prestashop 1.5.x how can I fix the same problem? Regards Laurent Link to comment Share on other sites More sharing options...
ddaniele Posted March 22, 2013 Share Posted March 22, 2013 Go to your database, table xx_meta_lang, look for Shop powered in description, ensure it's your language. Change to whatever you need et voila, No scripts to change. Goodluck Link to comment Share on other sites More sharing options...
vekia Posted April 7, 2013 Share Posted April 7, 2013 simple template code for remove shop name from all page titles: easiest way to remove shop name from title 1 Link to comment Share on other sites More sharing options...
Housy Posted November 30, 2013 Share Posted November 30, 2013 Works great!Thanx man simple template code for remove shop name from all page titles: easiest way to remove shop name from title Link to comment Share on other sites More sharing options...
vekia Posted November 30, 2013 Share Posted November 30, 2013 Works great! Thanx man you're welcome glad to hear that i could help you a little with my post from april 2013 may i know what ps version you use? Link to comment Share on other sites More sharing options...
pienzu Posted February 25, 2014 Share Posted February 25, 2014 simple template code for remove shop name from all page titles: easiest way to remove shop name from title Hi Vekia, This code works great for header.tpl but cant see to do it for CMS pages, Manufacturers page, New products page etc. Do you have a "easy fix" for these pages?. Also I found a post which says it can be done just with changing classes/Tools.php page code but it was for an earlier versión. I'm using 1.5.4.1. Do you think posible to change just one file for all the shop? Link to comment Share on other sites More sharing options...
pienzu Posted February 25, 2014 Share Posted February 25, 2014 Hi Vekia, This code works great for header.tpl but cant see to do it for CMS pages, Manufacturers page, New products page etc. Do you have a "easy fix" for these pages?. Also I found a post which says it can be done just with changing classes/Tools.php page code but it was for an earlier versión. I'm using 1.5.4.1. Do you think posible to change just one file for all the shop? SORRY. forget my previous post. Just seen that it works for all pages Link to comment Share on other sites More sharing options...
vekia Posted February 25, 2014 Share Posted February 25, 2014 that's right, this code changin whole shop title bar, for each kind of page Link to comment Share on other sites More sharing options...
robbie007 Posted July 1, 2014 Share Posted July 1, 2014 simple template code for remove shop name from all page titles: easiest way to remove shop name from title Hi Vekia, I used your tutorial a week ago. For one of our multistores the Shopname still comes (for like 6 months now) in front of the meta title for the homepage (so you get Shopname: and then the rest of the title). But, this is only the case in search engines not in the header of the browser. Second I noticed search engines are not always using the Meta Title but part of the H1 Title. Do you have an idea what's going on? Use Presta 1.5. Link to comment Share on other sites More sharing options...
vekia Posted July 1, 2014 Share Posted July 1, 2014 1) 2) it's probably because google adds that prefix automatically, unfortunately we can't change that because it's on google side... im not seo master i know a little about that, but it's not first time when i noticed that google adds own contents to <title> in search results. 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