# Author socials not working properly

**URL:** <https://community.hubspot.com/t/author-socials-not-working-properly/109753>\
**Category:** CMS Development\
**Tags:** design-manager\
**Created:** [June 20, 2024, 11:49am UTC](https://community.hubspot.com/t/author-socials-not-working-properly/109753 "2024-06-20T11:49:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvio-otercar](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sylvio-otercar](https://community.hubspot.com/u/sylvio-otercar)\
**Post date:** [June 20, 2024, 11:49am UTC](https://community.hubspot.com/t/author-socials-not-working-properly/109753/1 "2024-06-20T11:49:17Z")

</div>

Hello again,

This time it’s the social icons.

Spoiler

\<div class=“bio-social-links”\>  
{% if blog\_author.has\_social\_profiles %}  
{% if blog\_author.facebook %}  
\<a href=“{{ blog\_author.facebook }}” target=“\_blank” class=“bio-icon”\>  
\<img src=“https://(myclient)/hubfs/icons/fb.png” alt=“Facebook”\>  
\</a\>  
{% endif %}  
{% if blog\_author.linkedin %}  
\<a href=“{{ blog\_author.linkedin }}” target=“\_blank” class=“bio-icon”\>  
\<img src=“https://(myclient)/hubfs/icons/in.png” alt=“LinkedIn”\>  
\</a\>  
{% endif %}  
{% if blog\_author.twitter %}  
\<a href=“{{ blog\_author.twitter }}” target=“\_blank” class=“bio-icon”\>  
\<img src=“https://(myclient)/hubfs/icons/x.png” alt=“Twitter”\>  
\</a\>  
{% endif %}  
{% endif %}  
\</div\>

The if statement works well, the icons do show up. My problem is that the links direct to

[https://(myclient)/blog/author/www.facebook.com/(](https://www.fotoware.com/blog/author/www.facebook.com/test-forfatter)the author)

rathen than

[www.facebook.com/(the](http://www.facebook.com/(the)author)

What the heck is going on here? Haha!

---

<div class="post-metadata">

**Author:** ![sylvio-otercar](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sylvio-otercar](https://community.hubspot.com/u/sylvio-otercar)\
**Post date:** [June 20, 2024, 12:55pm UTC](https://community.hubspot.com/t/author-socials-not-working-properly/109753/2 "2024-06-20T12:55:50Z")

</div>

This was solved by adding a https:// prefix on the author module 🙂
