How to remove shop name from showing in page title?

Hi Guys,

So right now my store name is showing 2 time. how do i remove it? as is bad for seo.

i am sure i only set the page title as “Best Fish Shop in India | My Store Name”

But no matter what i see in page it will show as the below. which have the extra “-My Store Name”

Best Fish Shop in India | My Store Name - My Store Name

@mochi8

Hi Mochi,

Just follow this tutorial. Please let me me know if you need any further assistance.

Kind regards,
Diego

I think the above dont work for me? as i can see too many tag not sure which to remove.

{%- if settings.favicon_enable -%}

{%- endif -%}

{%- capture seo_title -%}
{{ page_title }}
{%- if current_tags -%}
{%- assign meta_tags = current_tags | join: ', ’ -%} – {{ ‘general.meta.tags’ | t: tags: meta_tags -}}
{%- endif -%}
{%- if current_page != 1 -%}
– {{ ‘general.meta.page’ | t: page: current_page }}
{%- endif -%}
{%- assign escaped_page_title = page_title | escape -%}
{%- unless escaped_page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{%- endcapture -%}

{{ seo_title | strip }}

{%- if page_description -%}

{%- endif -%}

{%- include ‘social-meta-tags’ -%}
{%- include ‘header-css’ -%}

{{ content_for_header }}
{%- include ‘oldIE-js’ -%}
{%- include ‘header-js’ -%}

{% comment %} If you store has customer accounts disabled, you can remove the following JS file {% endcomment %}
{%- if template contains ‘customers’ or ‘cart’ -%}

{%- endif -%}

@mochi8

There is only one title tag in your code,

{{ seo_title | strip }}

Replace the line above with this:


Great! Thanks for the help! is solved!!

@mochi8

You’re welcome!

Please don’t forget to click on the button “Accept as Solution” below my answer to help other people in the community with similar issues.

Kind regards,
Diego

Hello I cannot find in theme.liquid or elsewhere. Where are in the Streamline theme by Archetype. Any insight?