roboy Posted September 22, 2010 Share Posted September 22, 2010 I have been trying to figure out how to modify the title that is used by default for product pages that are without meta title. Right now my shop is using the product name as page title, so in the source code of my product pages it may look something like: <title>Missy-T</title> I would really prefer using the short description instead, which might say "funny t-shirt". It would be much better for my SEO.I suppose I would need to modify some core file. Does anybody have a clue which file it could be and perhaps where in the code? Link to comment Share on other sites More sharing options...
rocky Posted September 22, 2010 Share Posted September 22, 2010 You are right. You need to change line 463 of classes/Tools.php: return self::completeMetaTags($row, $row['name']); to: return self::completeMetaTags($row, strip_tags($row['description_short'])); Link to comment Share on other sites More sharing options...
roboy Posted September 22, 2010 Author Share Posted September 22, 2010 Thank you so much Rocky! I had spent many hours searching for that little bugger. Hope the answer can help more users! Link to comment Share on other sites More sharing options...
rocky Posted September 22, 2010 Share Posted September 22, 2010 Great. Please edit your first post and add [sOLVED] to the front of the title. 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