How do I edit page titles that are too long?

Topic summary

An app or default Shopify setting automatically appended the store name (“The Snowdonia Honey Co.”) to every page title, causing SEO issues due to excessive length.

Initial Solutions Offered:

  • Change the store name in Settings > Store details > Store name (affects all pages automatically)
  • Manually adjust individual page titles in product/page SEO settings, accounting for the ~25 character store name suffix

Technical Fix (Resolved):
To completely remove automatic store name appending:

  1. Navigate to Online Store → Theme → Edit code
  2. Open layout/theme.liquid file
  3. Locate the <title> tag section
  4. Delete the line: {%- unless page_title contains shop.name %} – {{ shop.name }}{% endunless -%}
  5. Save changes

SEO Context:
Page title character limit should be 55-60 characters. Removing brand names from titles is often beneficial since search engines already identify the source domain.

The issue was successfully resolved using the code editing method.

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

It seems that an app (?) has added my company/brand name to every page title, making them too long for SEO. Where can I edit the page titles to remove this? It seems to have added " - The Snowdonia Honey Co." to every one

https:/www.snowdoniahoney.com

Hi Alun,

Seo title character limit should be 55- 60. Looking your keyword my suggestion is to remove the brand name from title because google always know where the page is curling from.

and for more traffic keyword or to compare keyword, you can always use https://trends.google.com/trends/

And to edit the seo title - in shopify > product> edit product and scroll all the way down “search engine listing” and click edit

Hi @Alun

That is the default feature where the store name is appended to the end of every page title.

The store name can be found in Settings > Store details > Store name.

What you set in “Store name” will be added automatically to every page title.

Many thanks @claricelin for your suggested fix. It worked! And now makes perfect sense. As @saurav9005 pointed out, I’ll have to go through my pages and mentally remove 25 characters (for my store name) from any SEO page title I add

1 Like

Hi @alun ! 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 exxpand 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 title won’t be added to every other page title. Hope that helps.

1 Like

Thanks @SEOMouse - that works a treat!

1 Like