JesperNissenSeoLogo
how to insert schema in wordpress pages

How to insert schema in WordPress pages

In this blog post, I will show you how to insert website and web page schema into your WordPress website. Also, I have made a video tutorial if you prefer watching instead of reading.

The purpose of this blog post is to show you the workflow after you have generated the web page schema.

How do you insert schema and implement it into WordPress?

You will need a wordpress plugin called header footer code manager. First step is to generare webpage schema. Second step to optimize the webpage schema. Third part is we go to WordPress and install the plugin called HFCM (Header Footer Code Manager). Fourth part iswe insert the webpage schema on the page we want.

To generate the schema and edit it we use schemawriter.ai. If you are not already familiar twith schemawriter.ai, here comes a short introduction.

schemawriter.ai is an AI-based software that reverse engineers your competitors.

It generates the webpage schema automatically and it’s optimized with entities.

Exampel of a schema created with schemawriter.ai:

To make a schema like this, you simple insert a keyword, your target URL, and your company info. Then you choose the country / city you want to rank in, and click generate. In no time you will have a complete schema modified for your case.

 

To insert the schema you now head over to wordpress dashboard and click on plugins. Go to add new plugin. Search for HFCM (Header Footer Code Manager).

All you need to do now is click install. Once it’s installed we click on Activate.

Now in the left menu, there is a new item called HFCM, which is  an abbreviation for the title of the plugin.

Now we will get the schema file from SchemaWriter.ai

 

I will click on add new snippets

It’s identical whether you use Schemawriter.ai, use another schema tool or write the schema files in hand.

The workflow is the same. So in my case, first I’ll verify that I have the correct schema codes.

So, I’ll go to schema.org >> click validate >> click on code snippets. Paste the schema file codes and click on run test. If it shows no bugs. I’ll use it.

We copy the content from this webpasgeschema.txt text file. Paste it on the Snippet/ Code field. And then you name the snippet.

For each page, there will be a different schema.

Snippet name: Homepage schema

Snippet Type: JavaScript

Site display: We will select Specific pages because it is only for the home page. Then from the page list, I select my home page.

Location: This will always be the header.

Device display: Select Show on all devices.

Now I click on the Save button.

If you have a cache plugin installed. Clear the cache. Now copy the homepage URL. Go to schema.org. Click validates. Paste the URL. Click on Run Test.

If you see the new schema details we just added. Congratulation! You added the new schema successfully.

 

Hope you find this useful!

Check out our previous post on: How I ranked number one in 24 hours using Parasite SEO – Jesper Nissen SEO

FAQ:

What if there is already a webpage schema? What if there already is some other schema?

In all of my testing, what I’ve seen is you don’t need to disable the current schema to get results because Google is well aware that,

Share:

Facebook
Twitter
Pinterest
LinkedIn
SHARE

Want to work with us?

SEO COURSES

Check out my SEO Courses on advanced link building and SEO.

Related Posts