Global tags filter for blogs

I saw this question has been asked by doing some research but no clear answer has been given.
I have 6 different blogs and I’m building a global overview page for the blog posts.
There are two filters on this page: one for the blogs themselves (called category) and another one for the tags.
My problem is that tags are filtered per blog and not globally, I would like to regroup all the tags whatever blogs they’re coming from.
I currently have something like this: websitename.com/blogname/tag/tagname and I wish to have websitename.com/tag/blog , is that possible?
Thank you for your help!

Hey @CharlotteSWS

You may want to combine the blog content into a single list. Thus allowing you to filter and sort however you want. Check out this article on how to Combining multiple sets of blog posts into a single listing

As far as url structure goes I dont think this will be possible as your blogs are separate enties. To get something similar you’ll probablly have to use querystrings for the filtering and a custom build page template.

Hope this gets you moving in the right direction. If you’ve got any questions feel fre to reach out!

Hi @Kevin-C,
Thank you for your reply!
I already did the combining and it’s working fine. I was just hoping there was something similar for the tags, as in the marketing view, we can filter them for all blogs or per separate blog.
Thank you

Ah gotcha!
Checkout this page HubL variables - HubSpot docs. And look into “contents_topics” and “topics” variables. I’d imaging with one of those you could get exactly what you need.
If not Id imagine you can build a list of the topic tags using a loop.

I think those topics are referring to the SEO topics, not the tags for blogs,

Anyway, I can actually get my global list of tags but once you filter on one of them, the link leads you to a specific blog page/tag/tagname.
I think it’s just not possible with my current structure. So I decided not to have a filter on tags on the overview page but only on the specific blog where I can filter by tag without any problem.

Thanks for your help!

Just a quick follow up for anyone that finds this thread. This is the markup pulled from a popular blog template to list post topics below the summary.

{% if content.topic_list %}
 <p id="hubspot-topic_data"> Topics:
 {% for topic in content.topic_list %}
 <a class="topic-link" href="{{ blog_tag_url(group.id, topic.slug) }}">{{ topic.name }}</a>{%
 if not loop.last %}{% endif %}
 {% endfor %}
 </p>
 {% endif %}