Changing main title of home page on search engine and links.

Solved

Changing main title of home page on search engine and links.

MrBamboo
Tourist
7 0 2

Below are some examples of my issue right now. 

I would like to be able to edit:

- "BambooMunch - HOME" to just "BAMBOOMUNCH" (And also how to edit the image on the right?)

 

-  The URL ".../collections/all" translated to ".../catergorias/todos"

 

- The URLs with "/pages" to just be their own name without "/pages" (or how to translate it)

 

- And also translate the ".../pages contact" link.

 

how would i go about doing this, I havent been able to find a solution so far.

Tempalte is Da

MrBamboo_0-1745484850567.png

MrBamboo_1-1745484921934.png

MrBamboo_2-1745484971051.png

MrBamboo_3-1745485052899.png

 

 

 

Accepted Solution (1)
namphan
Shopify Partner
2690 349 399

This is an accepted solution.

Hi @MrBamboo,

Please change code:

<title>
        {{ page_title }}
        {%- if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif -%}
        {%- if current_page != 1 %} &ndash; Page {{ current_page }}{% endif -%}
        {%- unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless -%}
</title>

=>

<title>
      {%- if request.page_type == 'index' -%}
        BAMBOOMUNCH - *Slogan*
      {%- else -%}
        {{ page_title }}
        {%- if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif -%}
        {%- if current_page != 1 %} &ndash; Page {{ current_page }}{% endif -%}
        {%- unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless -%}
      {%- endif -%}
</title>
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

View solution in original post

Replies 4 (4)

namphan
Shopify Partner
2690 349 399

Hi @MrBamboo,

1: For name: Please go to Actions > Edit code > layout > theme.liquid file. You can find the attributes '<title>' and 'og:image'.

2: For url: This is not possible, it is Shopify default.

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
MrBamboo
Tourist
7 0 2

I've tried everything to edit this, but I can't understand how it works.

How would I go about make the Main page title just "BAMBOOMUNCH - *Slogan*"?

MrBamboo_0-1745509935605.png

MrBamboo_1-1745509991371.png

 

 

namphan
Shopify Partner
2690 349 399

This is an accepted solution.

Hi @MrBamboo,

Please change code:

<title>
        {{ page_title }}
        {%- if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif -%}
        {%- if current_page != 1 %} &ndash; Page {{ current_page }}{% endif -%}
        {%- unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless -%}
</title>

=>

<title>
      {%- if request.page_type == 'index' -%}
        BAMBOOMUNCH - *Slogan*
      {%- else -%}
        {{ page_title }}
        {%- if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif -%}
        {%- if current_page != 1 %} &ndash; Page {{ current_page }}{% endif -%}
        {%- unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless -%}
      {%- endif -%}
</title>
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

mageplaza-cs
Shopify Partner
494 42 82

Hi @MrBamboo ,

I am from Mageplaza - Shopify solution expert.

Please open the theme.liquid file, then find the title tag and update it with the following code:

<title>
  {%- if request.page_type == 'index' -%}
    BAMBOOMUNCH - *Slogan*
  {%- else -%}
    {{ page_title }}
    {%- if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif -%}
    {%- if current_page != 1 %} &ndash; Page {{ current_page }}{% endif -%}
    {%- unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless -%}
  {%- endif -%}
</title>

You need to wait a bit longer for Google to reindex your title on the Google search results page.

 

Please let me know if it works as expected!

Best regards!

Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants


If our suggestion works for you, please give it a Like or mark it as a Solution!


Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com