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.
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.
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”.
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”.
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.
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.
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.
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.
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.
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.
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!