Showing brand name rather than URL in Google search

Hi there,

I hope someone will be able to help me making sure that my brand name is shown in Google (and other search engines) rather than URL. As you can see on the screenshot attached, when searching through Google, besthair.co.nz is displayed rather than Best Hair brand. oddly, in Google shopping and images, Best Hair brand is displayed (and not url). I obviously need the brand to be displayed when searching. The Best Hair online shop has been in operation for over 2 years now hence Google and other search engines should recognise it by now. Thanks a lot for help in advance.

Roman

Hey @RK2024

This is a Google site name issue, not really a Shopify problem. Google decides whether to show your brand name or domain based on signals it picks up from your homepage, and it falls back to the URL when it isn’t confident. The fix is adding Website structured data (schema.org) to your homepage that tells Google explicitly what your site name is.

Open theme.liquid file and just before the closing </head> tag, paste this:

{% if request.page_type == 'index' %}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Best Hair",
  "alternateName": ["Best Hair NZ", "besthair.co.nz"],
  "url": "{{ shop.url }}/"
}
</script>
{% endif %}

After deploying, go to Google Search Console, submit your homepage via URL Inspection > Request Indexing. Then wait. Google has stated this can take anywhere from a few days to several weeks to update, sometimes longer for established sites because it has to override existing signals it’s already learned.

The fact that Google Shopping and Images already show “Best Hair” is actually a good sign, those systems have the right brand association, the main search index just hasn’t caught up yet.


Hope that helps! If it did, a Like and Marking it as Solution goes a long way and helps others find the fix faster too.

Best,
Moeed

Thanks so much Moeed. I have followed your advise and hopefully will see this changed in a few weeks. Thanks again

Yes.. it will work.:+1:

After implementation, keep eye on GSC and indexing report..

Yes I will, thank you mastroke.

I’d recommend using a tool like Schema Markup Validator and/or https://search.google.com/test/rich-results to verify your schema snippets.

Looks like you already had a WebSite type record on your pages:

Adding another, slightly different one would not hurt, but ideally – combine them.


Also – Google may still ignore your signals.
Say, because your site title is a common phrase. Same as you can’t copyright common phrases.

When I search for “braiding hair extensions in nz” i have something like this where your first-page competitors have “uncommon” phrase as their business title.

And Google can parse your markup as you want it, so it either ignores it or not yet re-crawled.
https://search.google.com/test/rich-results/result/preview?id=7UY382o2Ja2yeKPjHWkU7Q :

Thank you tim_1. Do you mind explaining what you mean by / how to combine type records you mentioned? ie. step by step how to do it? Because the brand name is a common phrase, do you think Google might never recognise it as a credible page and display the brand name in searching? Oddly, the brand name is shown when searching trhgou Images and Shopping in Google…

Thanks

The point was that you already had a “Website” record on your pages so adding another one would (most likely) not do much (but would not hurt also).


The theme already has very similar code here

The biggest difference is the "alternateName": ["Best Hair NZ", "besthair.co.nz"], line which you can rather add to a section code above, right after line 492.


Google is known for making their own decisions, based on (sometimes intentionally hidden) rules.
Whatever signals you include on your page are only suggestions/hints.

So no, I can’t guarantee that “common phrase” is the reason, however it’s highly likely:

Update – here – https://developers.google.com/search/docs/appearance/site-names#choosing-site-name


if my post is helpful, please like it ♡ and mark as a solution -- this will help others find it

Thank you tim_1. Do you think that the fact that the brand name is a ‘common phrase’ impacts how it appears in Google search (url instead of the brand name) or it can also have a more profound impact on, for example how highly we are ranked in Google search?

Many thanks again

Well, that was a direct quote from Google and links to further reading.

Even if it only impacts the appearance, this is a part of the bigger SEO play about building your brand awareness, getting your brand name to rank, to be a unique keyword so even though there may be no direct impact, there still be an indirect one.

Thanks so much tim_1. Regards

this is usually a site name / structured data issue. Google pulls the site name from a few places and sometimes defaults to the domain if it can’t find a clear signal. first thing i’d check is your theme’s structured data, specifically the WebSite schema. there should be a “name” field that matches your brand name exactly.

also check your homepage title tag. if it’s something like “Home | besthair.co.nz” Google might be pulling the domain from that. change it to “Best Hair | [tagline]” and make sure your Shopify admin settings under Online Store > Preferences has your brand name as the homepage title, not the URL. it can take a few weeks for Google to update after you fix it, but it usually sorts itself out.

hi again Moeed,

Your solution has worked, thanks again. Now it is showing Best Hair NZ. I would like to remove the ‘NZ’ bit. Do you think if I remove the alternate name "Best Hair NZ’ from your code then it will help? I just hope it won’t go back to www.besthair.co.nz as it is also an alternate name.

Thanks again

Thank you bchen27. The issue is fixed now. Google search shows Best Hair NZ now. I have just asked above how to remove the NZ bit, which is probably about removing one of the alternate names that was earlier suggested. Thanks

Hey @RK2024

Glad to hear it worked for you and yes you’re correct if you remove the NZ from the code then it will be updated, will take some time to show the changes on Google search.

Also, don’t forget to Request Indexing again.

Best,
Moeed

Awesome, many thanks again. Appreciate your help.