How to verify your WordPress site with Facebook

April 1, 2023

Blog Featured Image with text overlay. Topic - How to verify your WordPress site with Facebook.

Summary

A step by step tutorial on how to verify your domain with Facebook for your business page.

Many small business owners utilize different social media applications to help promote their business and engage their followers, raving fans, and/or customers. Some of the options require that you verify your domain with the different applications. Today we are going to look at how to verify your WordPress site with Facebook.

This does require some comfort with inserting code into your theme. We use Divi from Elegant Themes as the WordPress theme of choice. So the screenshots and instructions will be based on the Divi theme. If you’re uncomfortable with adding the code snippet to your theme html, please consult with your favorite web guy/gal for assistance so you don’t inadvertently crash your site.

Step 1: Login to your Facebook business page

Step 2: Go to “Meta Business Suite”

At the time of writing this (1 Apr 2023), Facebook uses their “Meta Business Suite” for businesses to manage the bulk of their business information. It is also in this area where you can manage Instagram (if your business has an Instagram account) since Facebook bought Instagram in 2012.

Screenshot of facebook with a red arrow pointing where to find "meta business" for a business page.

Step 3: Go to settings

Once you’re logged in and have navigated to the Meta Business Suite, we have a couple of clicks to get us to where we need to be. At the bottom of the page in the left hand menu you will see the word “settings” or an icon of a gear. Click on settings.

After you click on settings, you’ll see a second menu appear next to the left navigation menu. Find “business settings” and click on it. The little square icon with an arrow on it means it will open up a new tab when you click on the link.

Screenshot of facebook with a red arrow pointing where to find the settings link for a business page.
Screenshot of facebook with a red arrow pointing where to find the business settings link for a business page.

Step 4: Navigate to “Brand Safety & Suitability”

Now that you’re in the business settings, we’re going to go to “Brand Safety and Suitability”. This one has a little carrot icon. When you click on it, it will drop down and give you two (2) options. Select “Domains”.

Screenshot of facebook with a red arrow pointing where to find the brand safety link for a business page.
Screenshot of facebook with a red arrow pointing where to find the brand safety domains link for a business page.

Step 5: Add Domain

Yes, I know. Shame on me for not having done this yet. But it enables me to write this tutorial for y’all! Anyway, once you click on “Domains”, this screen will open up. You’re going to click on the blue “Add” button. If you have already added a domain as an asset to your business page, you’re going to select “request access”. If this is the first time adding a domain, you’re going to select “create a new domain”.

Screenshot of facebook business settings with a blue "add" button to add a domain for a business page.

Step 6: Create a new domain

Once you select “create a new domain” this screen pops up. You will type in your web address (the domain) and click the blue “add” button.

Screenshot of facebook with showing where to add a domain for a business page.

Step 7: Verify your domain in WordPress

Now we’re getting to the fun stuff! Don’t let the html code make you stop here. Take a deep breath and tackle it! You got this!

From here, you will need to login in to your WordPress website. You will need full admin priveleges to edit the html code of your theme. Again, as a reminder, I use the Divi theme, so that is what this tutorial will show. These steps should be similar for most WordPress themes.

You’re going to copy the code that’s labeled as the “meta-tag”. Make sure you get all of it, from the < to the > . It’s important, your verification will not work if you don’t have every character of the tag.

Screenshot of facebook showing the "verify your domain" page.

Login to your WordPress dashboard. This is what mine looks like for this site. You’re going to navigate down to the “Appearance” link. When you hover over it, a secondary menu pops up to the right. Scroll down and select “Theme File Editor”.

*Side Note – I have two (2) screens open at this point. One with the Facebook business settings and one with my WordPress site. Two screens works better for me rather than two separate tabs. It helps me make sure I don’t accidently close one I am working with while switching between the two.

Screenshot of the admin dashboard for a wordpress website with red arrows pointing where to find the theme editor.

After you click on “Theme File Editor” this is what your screen should look like. Use the scroll bar on the right hand side to find the file for “header.php”. This is where you’re going to insert the code you got from Facebook.

Once you find the header file, click on it.

Screenshot showing the theme file editor in wordpress admin, with a red arrow pointing to the "header. Php" file in the right hand navigation panel.

Now you’re in the file editor for the header component of your site. In html, various parts of the code are highlighted green. In this example, line 3 has the heading code of < head > (without the spaces). It also has osme other meta tags. Your Facebook meta tag needs to go between the < head > line and the < / head > line. I have inserted it just below the other meta tag. Extra line spacing doesn’t do anything to affect the coding of your site but it DOES make it easier to read. This is why line 5 has no code, I inserted the Facebook meta code on line 6, and line 7 has no code.

That’s it for this part. Click on the blue “update file” button to save your updates. It will say “File edited successfully” once it finishes saving.

Screenshot showing where to insert facebook meta tag in the theme file editor and how to save the changes.

Step 8: Verify your domain in Facebook

*If you read the fine print on Facebook, it says that it CAN take up to 72 hours (3 days) for Facebook to find the meta-tag code.

Now you need to go back over to your business settings in Facebook and click on the green “verify domain” button. If it is able to find your code, this is the success message that you should see.

Click on the “done” button.

Screen shot of the business settings in facebook showing a successful verification.

And that’s it! You’ve successfully verified your domain with Facebook! Now you can utilize it however you need to. Set it up so you can connect your ecommerce store to sell items, link ads that send people from Facebook to your website, etc.

How’d you do? Was this tutorial helpful? Please let us know in the comments!

Written By Shawna Barnes

Shawna is the graphic and website designer at S. Barnes Designs. She studied graphic design after her medical retirement from the Army in 2011 and has been designing websites since 2016. She lives in northwestern Wisconsin with her husband, two dogs, and a cat.

You May Also Like …

DIY Website Builder Traps- A Series

DIY Website Builder Traps- A Series

As a small business owner, your options for building a website are many. A DIY website builder may be appealing; but there’s always more than meets the eye.

WooCommerce – How to add a product

WooCommerce – How to add a product

Do you have an ecommerce site and use WooCommerce? Are you trying to figure out how to add a product yourself so you can bug your web guy/gall less?

0 Comments

Leave a Reply

Pin It on Pinterest