Hi, Can anyone help me? I was checking my website on Google, and it is showing & instead of & in the name of my website title. I checked my liquid (HTML) and cannot find the & to change to (“&”). It does not show that anywhere. What can I do to get rid of this? It makes my website very unprofessional.
This shows on Liquid
if (window.MSInputMethodContext && document.documentMode) { Does the && mean anything? That's all I could find.
Thanks
hello @PigeonPM
Does your title contains & keyword in it? if not share your website URL. Thanks
It has the & in the title, I contacted the third party I use he said it was on the Shopify side, I just don’t know where to look. In store details it looks correct.
When you have a & in your title and you wrote it statically shopify automatically encodes that. check your title tag in theme.liquid and instead of static page title do this.
{%assign page_title = “Me and Pigoen”%}
{{ page_title | replace: ‘&’, ‘&’ }}
and use liquid variable page_title in your title tag {{page_title}} . I hope this solves the issue.
I found this in my source code, but it won’t let me change it on the source code page.
But I cannot find anything like this in the Liquid area, nothing shows there with a & to even change it.
I am not a tech person at all, this is all very confusing to me, I don’t even know where to code this in liquid. I see nothing that states the title in liquid, only on my source code page.
Else I need to check your theme files to get this issue fixed.
Actually, This is so weird I contacted Shopify support they looked into it, it was showing up correctly on her end, she checked her phone and it was also correct. Plus she checked a colleague’s phone, it showed correctly. I checked a friend’s phone as well as another computer it came up correct. So it only shows on my work computer and my phone incorrectly? So I guess it is all good! Thank you for your time!
1 Like