💲✂️ [LAST CHANCE] 20% DISCOUNT on Content AI with 1.5x Bonus Credits

Click Here!

How to Import JSON-LD Schema Markup With Rank Math

In this knowledgebase article, we’ll walk you through how you can use Rank Math PRO to import JSON-LD Schema Markup.

Simple Schema Trick To Boost Your Traffic from Google

What is JSON-LD Markup?

JSON-LD or JavaScript Object Notation for Linked Data is a lightweight data interchangeable format that uses the vocabulary of Schema.org to describe what a web page is about. 

JSON-LD is used in the page in such a way that it does not impact the existing HTML structure and tags. Web- developers use JSON-LD as it follows the JSON syntax and is simple to implement. JSON-LD helps to create an overall better web by annotating the elements on a page and structuring the data which is further used by the search engines to organize and connect data easily.

How to Import JSON-LD Schema With Rank Math

Before importing Schema from HTML code please ensure that you’ve enabled the Schema module from Rank Math SEO → Dashboard → Modules section. The import feature of the Schema Module is available only in the PRO version of Rank Math. We recommend installing the Rank Math PRO plugin to make the most of the Schemas supported by the plugin.

If you’re using the Schema Markup for the very first time, we recommend you to go through our massive guide on Configuring Schema Markup with the help of the Rank Math plugin.

Without further ado, let’s walk you through the steps on how to import JSON-LD Schema using Rank Math:

At first, navigate to your post editing screen. Then open Rank Math in the Gutenberg sidebar by clicking on the Rank Math SEO icon for the page. Or you can also click the three vertical dots in the top right-hand corner of the edit page and select Rank Math in the Plugins section – as shown below:

Click on Rank Math

Then in the Schema tab of Rank Math’s meta box, click on Schema Generator.

Click on Schema Generator

Click on the Import tab in the Schema Generator.

Click on the Import tab

3 Select the JSON-LD/Custom Code Option in the Import Tab

In the Import tab, select JSON-LD/Custom Code option from the drop-down list as shown below:

Select JSON-LD/Custom Code option

4 Enter the JSON-LD/Custom Code

To find the JSON-LD code on a webpage, right-click and select Show Page Source (the exact word may differ depending on the browser). 

Show Page Source

Once done, navigate to the Source page, and in the search bar, paste the below code:

<script type="application/ld+json">

The JSON-LD code on the webpage will be highlighted. You need to copy the entire JSON-LD code and paste it into Rank Math.

copy the JSON-LD code

Next, copy and paste the JSON-LD Custom Code in the corresponding box and click on Process Code.

Enter JSON-LD/ Custom Code

5 Select the Schema

Once you click on Process Code, the Schema will be imported within a fraction of a second. Click Use to use whichever Schema you want, as shown below.

Use the Schema

6 Modify the Schema

You can modify the Schema to suit your site. However, do not modify the @type property. Once done, click Save for this Post, as shown below. 

modify the Schema

7 Validate the Schema

To confirm your Schema is correctly set up, click the Eye icon, as shown below.

Click the eye icon

Then, click Test with Google, as shown below.

click Test with Google

Once done, click TEST CODE, as shown below.

Test code

You will be presented with the validity of the structured data. 

  • A checkmark in a green circle indicates the Schema is valid and eligible for display in Google Search. 
  • An exclamation mark in a yellow triangle indicates a warning. 
  • An exclamation mark in a red circle indicates an error in the Schema. Your content will be ineligible for display in Google Search results until the error is fixed. 

If you require extra details about the validity of the Schema, click the option available in the Detected structured data section, as shown below.

Click Detected structured data for more details
Rank Math Schema Generator PRO & Advanced Builder

If you still have any questions, please feel free to contact our support team who are available 24×7 and will help you out as soon as possible.

Still not using Rank Math?

Setup takes less than 5 minutes including the import from your old SEO Plugin!

Learn more about the PRO Version

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles