I've set my webshop Titles prefix/suffixes in Content > Design: Configuration > HTML Head for every level (from global to website to store) and I haven't overwritten the head.phtml in my theme. Still the <title>
tags only show the page- or categorynames. I've seen this behaviour on several Magento2 sites. Is this a bug?
-
Which version Have you used? magento 2.1.1 or 2.1.2?– Rakesh JesadiyaCommented Dec 15, 2016 at 10:54
-
Both. It never worked from 2.0 up to 2.1.2– AsitisCommented Dec 15, 2016 at 15:14
-
In my system its working fine. For magento 2.1.1– Rakesh JesadiyaCommented Dec 15, 2016 at 15:29
-
Have you set inside your theme?– Rakesh JesadiyaCommented Dec 15, 2016 at 15:30
-
As said in the question; no, I haven't edited anything from the base theme regarding this.– AsitisCommented Dec 16, 2016 at 9:03
Add a comment
|
1 Answer
In my case it wasn't working because the inserted value was starting with a blank space. Try to trim the suffix. Ex "- my website" instead of " - my website" Hope it helps