CMS Development

jvargas2
Participant

Author Pages for All Blogs

SOLVE

I have recently finished a site migration from WordPress to HubSpot. The client has requested that all the URLs and functionality stay the same as what the original site was. The only thing I have left is the blog author pages.

 

HubSpot keeps them at /[blog]/author/[author] and only includes the author's posts for that blog. However, I need them to be at /author/[author] and include the author's posts for every blog.

 

Is there any way to do this? The only thing I could think of was to make dynamic pages with HubDB but having to maintain a separate copy of every author is not ideal.

 

I have around 6 years of coding experience, primarily working with Django web applications and Machine Learning engineering, including any devops needs and ~1.5 years of HubSpot experience.

An example of one of our author pages: https://daml.com/blog/company/author/digital-asset

 

I looked through quite a few other answers and documentation pages but none were directly addressing what I need. I think I know how to pull all the posts from every blog as long as I can get the author listing page to live at the required URL.

0 Upvotes
2 Accepted solutions
Indra
Solution
Guide | Elite Partner
Guide | Elite Partner

Author Pages for All Blogs

SOLVE

Hi @jvargas2,

 

The HubSpot Blog author pages are indeed dynamically created by hubspot and will be like/[blog]/author/[author]

Since you can create multiple blogs, like 'News' or 'blogs'. HubSpot want to seperate them for each posts.

 

I think you have 2 options.

 

Option 1:
You could setup a flexible redirect patterrn to sent '/autor/:author' to /[blog]/author/{author}

Option 2:

As you mentioned, setup a HubDB with the autors and the author slug.

And create dynamic pages with the use of the Hubl function blog_recent_author_posts to create the blog's by users. Knowing there will be a limit of 200 post by user.

 

Hope this will help solve your problem.

 

Best,

Indra Pinsel


Vet Digital - The Growth Agency | HubSpot Solutions Partner Agency

Did my post solve your question? Help the community by marking it as a solution

View solution in original post

albertsg
Solution
Guide

Author Pages for All Blogs

SOLVE

Hi @jvargas2, I believe Option 1 by @Indra would be you best option, but that won't solve the fact that you want to change the behaviour of the author's page.
To solve that, remember you can use the "if blog_author statement" in your template to add whatever you want to your author's page code. Using the function that Indra tells you in Option 2 should help you solving your problem. 



Did my answer help you? Mark it as a solution


Book time with me

You can also connect with me on LinkedIn



View solution in original post

5 Replies 5
matt_scott
Top Contributor | Platinum Partner
Top Contributor | Platinum Partner

Author Pages for All Blogs

SOLVE

Hi, I've just come across this same issue, has hubspot fixed this issue in the past couple of years?

If I have 3 different blogs for example, we then have 3 author pages per author all with the identical bio, just with different blogs not great for SEO or user experience

This doesn't really make any sense

I guess like a lot of things in hubspot I'll have to come up with a user un-friendly work around like hubdb

Matthew Scott
Head of Development | Hubspot Solutions Architect

B2B marketing agency: Specialist B2B content marketing and demand generation for SaaS vendors and HubSpot Users | Deeply Digital | HubSpot Partner since 2010


01926 334003

deeplydigital.co.uk

3 Morton Street, Leamington Spa, CV32 5SY, UK
0 Upvotes
albertsg
Solution
Guide

Author Pages for All Blogs

SOLVE

Hi @jvargas2, I believe Option 1 by @Indra would be you best option, but that won't solve the fact that you want to change the behaviour of the author's page.
To solve that, remember you can use the "if blog_author statement" in your template to add whatever you want to your author's page code. Using the function that Indra tells you in Option 2 should help you solving your problem. 



Did my answer help you? Mark it as a solution


Book time with me

You can also connect with me on LinkedIn



Sjardo
Top Contributor | Elite Partner
Top Contributor | Elite Partner

Author Pages for All Blogs

SOLVE

@sharonlicari Thanks for the mention. My collega @Indra gave a great answer to the question!

Indra
Solution
Guide | Elite Partner
Guide | Elite Partner

Author Pages for All Blogs

SOLVE

Hi @jvargas2,

 

The HubSpot Blog author pages are indeed dynamically created by hubspot and will be like/[blog]/author/[author]

Since you can create multiple blogs, like 'News' or 'blogs'. HubSpot want to seperate them for each posts.

 

I think you have 2 options.

 

Option 1:
You could setup a flexible redirect patterrn to sent '/autor/:author' to /[blog]/author/{author}

Option 2:

As you mentioned, setup a HubDB with the autors and the author slug.

And create dynamic pages with the use of the Hubl function blog_recent_author_posts to create the blog's by users. Knowing there will be a limit of 200 post by user.

 

Hope this will help solve your problem.

 

Best,

Indra Pinsel


Vet Digital - The Growth Agency | HubSpot Solutions Partner Agency

Did my post solve your question? Help the community by marking it as a solution
sharonlicari
Community Manager
Community Manager

Author Pages for All Blogs

SOLVE

Hey @jvargas2 

 

Thank you for sharing this information, I think our experts can share some thoughts about this. 

 

Hey @Chris-M @Sjardo @Jake_Lett do you have any recommendations for @jvargas2?

 

Thanks

Sharon


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes