Nov 25, 202011:54 AM - edited Nov 25, 202011:55 AM
Participant
Internal private blog - what's the best way?
SOLVE
I'm looking to create a Hubspot blog for internal use only, to share company news on a weekly basis.
I know I can hide the blog from the SERPs, however, is there a way to add password protection to it?
I believe you can do this on landing pages but I've read about not being able to do it on a blog, and it seems that other links (if doing it on a landing page) would still be accessible without password protection. I don't want external parties to access this information and so the ideal scenario would be a login...
Any solutions/alternative ideas that could work for this are much appreciated!
If you have CMS Hub Enterprise you can control audience access for blogs from Settings > Website > Blog using Memberships. If you do not have Enterprise you could do something like :
1. Create a List for the people you want to have access to the blog
2. Create a Login page using a plain ol Hubspot form that redirects to the blog
3. On the blog template add an if statement to only show the content if the current user is in that particular list.
<!-- replace XXXX with the ID number of your list which can be found in the URL of the list -->
{% if XXXX in request_contact.list_memberships %}
Your Blog Content
{% else %}
You do not have access to this content.
{% endif %}
If this answer solved your question, please mark it as the solution.
If you have CMS Hub Enterprise you can control audience access for blogs from Settings > Website > Blog using Memberships. If you do not have Enterprise you could do something like :
1. Create a List for the people you want to have access to the blog
2. Create a Login page using a plain ol Hubspot form that redirects to the blog
3. On the blog template add an if statement to only show the content if the current user is in that particular list.
<!-- replace XXXX with the ID number of your list which can be found in the URL of the list -->
{% if XXXX in request_contact.list_memberships %}
Your Blog Content
{% else %}
You do not have access to this content.
{% endif %}
If this answer solved your question, please mark it as the solution.