Jump to content

Blog page showing multiple H1 tags

Recommended Posts

Hi, 

My website has a blog page: https://www.themarketingsteer.com/blog

On there are a few live blogs, each with a title. 

SEO-wise, these blog titles are pulling through as H1s, meaning I'm seeing notices in AHrefs that I have a page with multiple H1 title tags. 

I don't have a package with Squarespace where I can edit the code - only CSS, so I'm wondering if there's a way to resolve this some how?

Thanks in advance, 

Holly

Screenshot 2023-07-26 at 14.05.01.png

Screenshot 2023-07-26 at 14.05.11.png

Link to comment
18 hours ago, Steerhk said:

Hi, 

My website has a blog page: https://www.themarketingsteer.com/blog

On there are a few live blogs, each with a title. 

SEO-wise, these blog titles are pulling through as H1s, meaning I'm seeing notices in AHrefs that I have a page with multiple H1 title tags. 

I don't have a package with Squarespace where I can edit the code - only CSS, so I'm wondering if there's a way to resolve this some how?

Thanks in advance, 

Holly

Screenshot 2023-07-26 at 14.05.01.png

Screenshot 2023-07-26 at 14.05.11.png

Hi @Steerhk - I'm not 100% sure if you can edit this on your blog/collection page - however, this isn't too much of a concern, as your blog page is very unlikely to rank and get found directly by people on Google.

If unsure, check via Google Analytics to double-check.

As long as the SEO on other pages of your site is following best practices, this will likely have 0 impact.

Henry Purchase

Founder of SEOSpace - the SEO plugin for Squarespace.

Get a Free Squarespace SEO Audit: https://www.seospace.co/squarespace-seo-audit-score

image.png.f2cf8f5bd8cb76803cb561be0b303142.png

Link to comment
  • 10 months later...

I was able to resolve this by adding a blank section and code block to the page in question and used this code:

<!-- change blog headers from h1 to h2 on collections pages -->
<script>
document.querySelectorAll("h1.blog-title").forEach(header => {
  header.outerHTML = '<h2>' + header.innerHTML + '</h2>';
});
</script>

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.