Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Advisor

H1 tags for group topic pages

We received an SEO report saying that our group post pages do not contain any H1 tags for the headers (but have h2 instead). All of the other posts types on the community seem to have H1 tags. Can anyone help us find where we can amend these for group posts?

 

TIA

5 Replies 5
Highlighted
Honored Contributor

@cheathcote - can you confirm if your communtiy group post page has post title at the top? 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq
Highlighted

@TariqGrazitti yes it does

Highlighted

@cheathcote  -  

 

This seems to be a bug from lithium side.  As a workaround, you can create the custom component and add it to the top of group message page.

<communityurl>/t5/bizapps/bizappspage/tab/community%3Astudio%3Apage-editor?page=GroupMessagePage

Custom Component -> 

<h1 class="page-title">${page.context.message.subject}</h1>

  This component will add H1 in the page with group post title inside it. 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq
Highlighted

Great thanks for your help, will look into getting this done

Highlighted
Khoros Alumni (Retired)

I just checked on the group layout in our own Lithium Community here and a group message's title is actually represented as <h1> within the PageTitle component. 

 

What you can verify on your end:

  • In Lithium Studio on your stage community: Verify your GroupTopicHeader layout contains the PageTitle component and not any older - non-responsive - widgets like message-view.widget.subject
  • Within Admin -> System -> SEO check that the appropriate tag is selected for subjects on message lists and on forums.
    Admin>System>SEO setting for subject tagAdmin>System>SEO setting for subject tag
    NB: Most of the time the default setting of h2 is actually the correct one since h1 is already set on these pages for the board name or widget title. So please use caution with changing this to h1. A very easy way to verify is using the "HeadingsMap" browser extension (Firefox, Chrome) which shows 

Khoros Best Practice until August 2019. Onwards posting as Claudius.
Learn how to master Khoros. Learn Best Practice in the Community Documentation
If you appreciate my efforts, please give me a kudo ↓
Accept as solution to help others find it faster.