0

How can I add SEO title suffix for product page?

| improve this question | | | | |
  • Did the suggested change work how you wanted? – Dominic Xigen May 24 '19 at 19:06
0

You got a couple of options.

Admin Panel > Content > Configuration > HTML Head

Have you tried these?

| improve this answer | | | | |
  • When I used this approach to add " | My Store " to the title it also added it to the h1 on-page as well. I had to override Magento_Theme/templates/html/title.phtml to remove it from the h1 on-page title but leave it in the title html head element. – S Adamson May 24 '19 at 18:29
  • I only want this for product and category page..... not for every page – xdev May 24 '19 at 21:23
  • In that case you are going to have to do some template work. But also detect whether product currently selected using this magento.stackexchange.com/a/147872/70343 or category currently selected using this stackoverflow.com/a/41950564/10121426 – Dominic Xigen May 25 '19 at 0:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.