Page titles too long - Includes business name

Topic summary

A Shopify store owner discovered their page titles exceeded the recommended 70-character SEO limit because the theme automatically appended the business name to every page title. For example, product pages displayed as “Product Name — Business Name.”

Resolution:
The issue was resolved by editing the theme’s theme.liquid file and removing the code line: {%- unless page_title contains shop.name %} – {{ shop.name }}{% endunless -%}. This prevents the store name from being automatically added to page titles.

Key considerations:

  • Multiple users confirmed this is the correct fix
  • One contributor noted that Google evaluates entire titles regardless of length, so exceeding 70 characters isn’t necessarily harmful
  • For small stores without strong brand recognition, removing the store name can preserve valuable keyword space
  • For established brands, keeping the store name may provide branding benefits

Technical steps:
Navigate to Online Store → Themes → Edit code → Layout → theme.liquid, locate the page title code block, and delete the specified line containing the shop name logic.

Summarized with AI on October 25. AI used: claude-sonnet-4-5-20250929.

UPDATE: I think I fixed it by removing the line of code below. If anyone reads this please let me know if I did the right thing.

UPDATE: I just looked at the themes code and although I’m not good at coding I see something in the theme liquid file that looks like it’s instructing the site to add the “shop name” to the end. WHY? This is crazy… now it has caused all my pages to be over the 70 character recommendation for page titles.

Can anyone tell me please how to fix this? I’m beginning to not like this theme after all.

I don’t know if this is a theme issue or something that is auto generated by Shopify. But it’s suggested to enter up to 70 characters for an SEO page name. However many of my pages are warning they are too long because they all include a dash at the end and the name of my business. I didn’t put that in the page titles but this is how it’s showing up for SEO. Is this a theme issue or a Shopify default issue? I just started using the Empire theme which by the way has issues with the add to cart button Pixel Union is suppose to be looking into but after over a week is still unresolved. :person_pouting: but that’s a different topic.

My pages are being indexed like this…appending my business name at the end.

Chihuahua Beach Towels - Chihuahua Designed Towels for Dog Lovers — R3 Pet Gear

1 Like

Yes that’s correct. I was looking for a similar question I had recently responded to pass to you, but couldn’t find it.

Just a note, don’t remove the

2 Likes

@drichardson thank you, you are far too kind. You solved the problem yourself, I commend you.

All the best!

3 Likes

You did it the absolute right way. For anyone following that wants to remove their page title from their Shopify titles, this is the right way.

HOWEVER! It isn’t bad to have page titles that are over 70 characters. Google has said that they evaluate the whole title (https://www.searchenginejournal.com/google-title-tag-length/400682/), not just the first ~70 characters.

So, @drichardson : What you did here is absolutely fine. But it isn’t necessary. Google will read (and still love) the whole page title even if it’s > 70 characters.

(All that said, there are probably much better uses of the space in the page title. I’m excited to hear what you’ve done with the space.)

1 Like

The store name is good to have for ecommerce in all pages when you have a strong brand presence. If you are a small store and do not have many people search your brand, begin with excluding the store name from your title tag—the store name takes up character space to dilute keyword value. Use this instead:


1 Like

Thank you so much, i just realized i was having the same issue and had no clue how to fix it!

1 Like

Just to make this a bit clearer for people who also want to do this. If you don’t want the store name to be added to every page title to ruin your SEO, these are the steps you have to do. Go to Online Store → Theme. Click the three dots > Edit code. In the left side of the code editor expand layout → open “theme.liquid“.

Find the code part

{{ page_title }}

{%- if current_tags %} – tagged “{{ current_tags | join: ', ’ }}”{% endif -%}

{%- if current_page != 1 %} – Page {{ current_page }}{% endif -%}

{%- unless page_title contains shop.name %} – {{ shop.name }}{% endunless -%}

From this part you need to delete line “{%- unless page_title contains shop.name %} – {{ shop.name }}{% endunless -%}“.

That’s it, click Save and exit/close the editor. Now your store name won’t be added to every other page title. Hope that helps.