Re: How to remove shop name from showing in Google results page title?

How to remove shop name from showing in Google results page title?

miltokas
Explorer
89 0 24

Hi guys!

I have tried to remove the store name from the SEO Page title showing on google by removing a line in theme.liquid.

 

<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>

but still, after re-indexing the page google still shows it with the store name in the search results.

What do I need to do so this changes are applied?

Thanks!

miltokas_0-1721294425574.png

 

Replies 4 (4)

Dan-From-Ryviu
Shopify Partner
9534 1916 1950

After removing it, google will take time to reindex changing of your store before displaying new description on search result. 

- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

aBox_Agency
Shopify Partner
87 9 16

Hello There,

You change from Online Store > Preferences > Homepage Title.

Screenshot 2024-07-18 at 3.18.15 PM.png

 

 

 

 

 

Thank You

Regards,
aBox Agency | Shopify Partners

Need help customizing your Shopify store? Feel free to reach out to us at Shopify Partners Directory or visit our website at aBox.Agency.

If you found this post helpful, please give it a like!

azamgill
Shopify Partner
325 47 77

Hey @miltokas ,

 

To ensure that your changes to the SEO Page title are correctly applied and reflected in Google search results, follow these steps:

 

1.  Clear Shopify Cache: After making changes to the theme files, ensure that the cache is cleared. You can do this by making a minor change to the theme and saving it again. This will force Shopify to refresh the cache.

 

2. Verify Theme Changes:
Make sure your `<title>` tag is correctly updated. Based on your code, it should look like this:

 

<title>
{{ page_title }}{% if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif %}
{% if current_page != 1 %} &ndash; Page {{ current_page }}{% endif %}
</title>

 

This code snippet should be placed in your `theme.liquid` file within the `<head>` section.

 

3. Check for Other Theme Files:
Ensure that there are no other theme files or sections overriding the `<title>` tag. Sometimes, individual templates (like `product.liquid`, `collection.liquid`, etc.) may have their own `<title>` tags.

4.  Update Robots.txt :
If you have a custom `robots.txt` file, make sure it allows search engines to index your site.

 

5. Submit the Updated Sitemap to Google:
After making these changes, you should resubmit your sitemap to Google Search Console to prompt re-indexing. Here’s how:

- Go to  https://search.google.com/search-console/.
- Select your property.
- Navigate to the "Sitemaps" section.
- Enter the path to your sitemap (usually `sitemap.xml`) and click "Submit".

 

6. Use URL Inspection Tool
In Google Search Console, use the URL Inspection tool to request indexing of specific pages you’ve updated. This can help speed up the process of reflecting changes in search results.

 

7. Wait for Re-indexing:
Changes in search results are not immediate and can take some time. Google needs to crawl and re-index your pages, which can take a few days to weeks.

By following these steps, you should ensure that your changes are recognized and reflected in Google search results over time.

Azam Gill
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Encourage me ❤️

Come and visit us at Wbify
miltokas
Explorer
89 0 24

Hi @azamgill !

I have followed all your instructions (thanks a lot) requested and waited for the indexation and all but still no luck, the name is always appended in the collection titles. 

My code is as following, I removed the recommended section that was appending the store name.

Any more suggestions in order to get it removed?

 

   <title>
      {{ page_title }}
      {%- if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif -%}
      {%- if current_page != 1 %} &ndash; Page {{ current_page }}{% endif -%}
    </title>
       
    
    {% if page_description %}
      {%- comment smartseo_integration_begin_meta_data -%}<meta name="description" content="{{ page_description | escape }}">{%- endcomment smartseo_integration_end_meta_data -%}
    {% endif %}
   
    {% render 'meta-tags' %}