Shopify themes, liquid, logos, and UX
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 %} – tagged "{{ current_tags | join: ', ' }}"{% endif %} {% if current_page != 1 %} – Page {{ current_page }}{% endif %}{% unless page_title contains shop.name %} – {{ 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!
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.
Hello There,
You change from Online Store > Preferences > Homepage Title.
Thank You
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 %} – tagged "{{ current_tags | join: ', ' }}"{% endif %}
{% if current_page != 1 %} – 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.
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 %} – tagged "{{ current_tags | join: ', ' }}"{% endif -%}
{%- if current_page != 1 %} – 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' %}
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024