Articles · Small business websites
How to add social media links to your small business website
Published · Updated
A customer finds your website and wants to see your recent work. Your Instagram page has it. If the site has no link to that page, the customer has to leave, open the app, and search for your name. Many will not.
A social media link fixes this. It takes a visitor from your site to your profile in one tap. This guide shows how to add the links, where to put them, and how to avoid the common mistakes.
Find the web address of each profile
Open each profile in a browser, not in the app. Copy the address from the top of the browser. It looks like https://www.facebook.com/yourbusiness or https://www.instagram.com/yourbusiness.
Use the full address, starting with https://. A link that starts with www or has no start at all can break on some sites and builders.
Paste each address into a note so you have them ready. Check that each one opens your business page and not your personal profile.
Pick which accounts to link
Link only the accounts you post to. A Facebook page with no post since 2022 tells a visitor that the business may be closed. Leave it off the site until you update it, or delete the page.
Two or three links are enough for most small businesses. Pick the places where your customers find you. A hair salon may link Instagram. A contractor may link Facebook. A restaurant may link both.
Write the link code
Here is a plain text link:
<a href="https://www.instagram.com/yourbusiness" target="_blank" rel="noopener">Instagram</a>
Swap in your own address. The address is a placeholder.
The part inside the quotes after href is where the link goes. The word between > and </a> is what the visitor reads.
The target="_blank" part opens the profile in a new tab. Your website stays open in the first tab, so the visitor can come back to it. The rel="noopener" part is a safety setting that goes with it.
Add the links in WordPress
WordPress has a Social Icons block built in. Open the page or template where the links should go. Click the plus button and search for Social Icons. Add the block.
Click the plus inside the block and pick a service, such as Facebook or Instagram. Click the icon, and paste your profile address into the link box. Repeat for each account.
To put the icons in the footer, open the site editor from the Appearance menu. Choose the footer template and add the block there. It will then show on every page.
Some older themes use menus instead of blocks. In that case, open Appearance, then Menus. Add a Custom Link, paste the address, and type the name as the link text. Place the menu in the footer location.
Add the links in a website builder
Most builders have a social icons element. Drag it to the footer or header. Click each icon and paste the profile address into the link field.
If the builder has no such element, add a text or button element. Type the name of the service and paste the address into the link setting. Turn on the option to open in a new tab.
Add the links to a custom site
Paste the <a> code into your HTML file where the links should appear. Add one line for each account. Save the file and upload it.
Choose icons or words
Icons look neat and take little space. Words are easier to understand. Both work.
If you use icons, give each one a text label for people who use screen readers. A screen reader cannot read a picture of a logo. Add an aria-label to the link:
<a href="https://www.instagram.com/yourbusiness" aria-label="Instagram" target="_blank" rel="noopener">
<img src="/images/instagram-icon.svg" alt="" width="32" height="32">
</a>
The empty alt is on purpose. The aria-label on the link already names it. How to write alt text for images on your small business website covers when to use alt text and when to leave it empty.
Keep the icons the same size and put space between them. A visitor on a phone needs room to tap one without hitting its neighbor. A target about 48 pixels wide is easy to tap.
Where to put them
The footer. This is the usual spot. It shows on every page and does not pull attention from your main message.
The contact page. A visitor who wants to reach you may prefer to send a message on Facebook. What to put on your small business contact page lists the other details that belong there.
The About page. A short line such as “See our recent jobs on Instagram” works well here.
Keep social links out of the header and out of the top of the homepage. The first thing a visitor sees should lead to a call, a quote, or a booking. A social link at the top leads them away from your site.
Skip the live feed
Some tools show your latest Instagram or Facebook posts inside a page. These add outside code to your site. That code can slow the page and can break when the service changes. How to make your small business website load faster explains what slows a page. A plain link is faster and easier to keep working.
If you want photos on your site, upload the best ones to the page itself.
Test the links
Open your live site on a phone. Tap each link. The profile should open, and it should be the business page. On a phone with the app installed, the link may open in the app. That is normal.
Then check the new tab. Go back to your site and make sure it is still open. How to check if your website works on a phone covers the rest of a phone check.
Fix common problems
The link goes to a page that does not exist. Check for a typo in the address. Copy it from the browser again.
The link opens a personal profile. Facebook pages and personal profiles have different addresses. Open the business page and copy the address from there.
The link opens inside the same tab. The target="_blank" part is missing, or the new tab setting is off in the builder.
The handle changed. If you rename an account, the address may change too. Update every spot on the site, starting with the footer.
If a link will not work on your site, send the page address through the contact page. We can look at it.
Read next
How to add a click-to-call phone link to your website
Turn your phone number into a tap-to-call link in a few minutes. Get the exact link code, add it in WordPress or a builder, and test it on a phone.
How to add a Google Map to your small business website
Add a Google Map to your contact page in five steps. Get the embed code, paste it on WordPress, a builder, or a custom site, and fix a map that is too wide on phones.
How to set up a Google Business Profile for a Vernon business
A step-by-step guide for Vernon, BC owners to claim or create a free Google Business Profile, pick a category, verify it, and keep it accurate.