SEO Optimization / Modify H1 title which is the store name on the homepage. Theme : Impulse.

SEO Optimization / Modify H1 title which is the store name on the homepage. Theme : Impulse.

MHIMDI
New Member
5 0 0

Hello.

 

I have an issue with the H1 Title on the homepage. It actually displays the store name , nor the logo.

 

I tried different solutions : 

 

1- Put a custom HTML content with a H1 title but, I still have the first H1 title with the store name.

MHIMDI_1-1711201436837.png

 

2- Modify directly the store name to display what I want to have in the H1 title, but this impact the Homepage Title (used to be shown on search engines) : 

 

MHIMDI_0-1711201302275.png

 

 

Any solution (code) to modify the H1 title on the homepage to stop display the store name ? 

 

Thank you

 
Replies 4 (4)

Keshan97
Shopify Partner
72 9 23

Hello!

It sounds like you're looking to customize the H1 title on your Shopify store's homepage to display something other than the store name without affecting your homepage's title as shown on search engines. This can indeed be a bit tricky, as the H1 tag is crucial for SEO and should accurately reflect the content of your page. However, with a bit of code tweaking, we can achieve the desired outcome.

Since you've already attempted to use custom HTML content and modify the store name, I'll suggest a more direct approach by editing the theme's liquid files. Please follow these steps:

Backup Your Theme

First, ensure you have a backup of your current theme to avoid any accidental loss of work.

  1. Go to your Shopify admin panel.
  2. Navigate to Online Store > Themes.
  3. Find the theme you're working on and click Actions > Duplicate. This will create a backup of your theme.

Modify the H1 Title on the Homepage

Next, you'll directly modify the code responsible for displaying the H1 tag on the homepage. The exact file and code snippet might vary depending on your theme, but generally, you'll be looking to edit the index.liquid file or a section within sections that's included in index.liquid.

  1. From the Themes page in your Shopify admin, click on Actions > Edit code for the theme you want to modify.
  2. Open the index.liquid file under the Templates folder or the specific section file (like header.liquid, home-hero.liquid, etc.) under the Sections folder that includes your homepage's H1 title.
  3. Locate the H1 tag that currently displays the store name. It might look something like this: <h1>{{ shop.name }}</h1> or <h1>{{ 'homepage.title' | t }}</h1>.
  4. Replace the content between the H1 tags with the desired title. For example, <h1>My Custom H1 Title</h1>.
  5. If you wish to keep the H1 tag dynamic (editable via the Shopify admin), consider using a metafield or creating a customizable section setting instead of hardcoding the title.

Save and Test

After making the changes, save the file and review your homepage. Ensure that the H1 title displays as expected without affecting the SEO title of your homepage.

A Note on SEO

While changing the H1 tag to something more relevant or catchy can be beneficial for the user experience, remember that it should still reflect the content of your homepage for SEO purposes. Avoid making it too generic or unrelated to your store's content.

If you're not comfortable making these changes yourself or if your theme's structure is significantly different, consider reaching out to Me or Another Shopify Expert or your theme's support team for further assistance.

Feel free to ask if you have any more questions or need additional help!

Best Regards,
Keshan Vishwajith
Shopify Certified Theme Developer
Feel free to drop me an email
www.loomod.com
MHIMDI
New Member
5 0 0

Hello Keshan97

 

Thanks for your response ! 

 

I tried but, I can't find where to locate the H1 tag:

 

There is no index.liquid 

MHIMDI_0-1711318403512.png

 

There is no home-hero.liquid

 

MHIMDI_1-1711318492069.png

Nothing displayed in header.liquid for H1 title

 

MHIMDI_2-1711318638403.png

But there I found a snippet named seo-title.liquid which shows this , do you think I can modify something here ? 

 

MHIMDI_3-1711318709321.png

 

Thanks a lot

Keshan97
Shopify Partner
72 9 23

Hello,

SEO Title is not the H1 tag, it is the meta tag Don't modify it.  Can you DM your store URL to me?  I will be able to have a closer look

Best Regards,
Keshan Vishwajith
Shopify Certified Theme Developer
Feel free to drop me an email
www.loomod.com
MHIMDI
New Member
5 0 0

Hello.

 

Thanks for your response. I think I will contact Shopify support for help. I can't give you the URL. 

Feel free to post here if you have any answers.

 

Thank you