PIT Designs Logo

How to use WP All Import with Rank Math

I'm the owner and founder of PIT Designs. I love creating digital presence and creative digital solutions for our clients.


Posted 2 years ago on September 23rd, 2020. Last modified on June 5th, 2021

Related To:

Tags: |
4 Benefits of Outsourcing Your Payroll

Did you know that you can outsource your payroll? Many business owners are hesitant to outsource this vital task, but doing so has many benefits. Here are four benefits to outsourcing your payroll.

How Can 3D Animated Logos Increase Brand Relevance?

Every company strives to please its consumers. A business uses its resources and strengths to amplify sales, recognition, and growth. […]

Integrating Artificial Intelligence in Mobile Apps Development

Mobile app development is a process of creating mobile apps with the use of computer programming languages, tools and software. […]

Why is PHP Still Important for Web Development?

PHP is one of the most popular programming languages and has been around for over two decades worldwide. PHP has […]

AI vs Machine Learning: What are the Differences?

Within the last decade, the term AI vs machine learning has become buzzwords that are often discussed together, and the […]

A Comprehensive Guide to Creating a Compelling Whiteboard Animation Video

Have you ever seen videos where it appears as though someone is discussing something while writing a story on a […]

8 Reasons Why You Should Hire Remote Workers

As the world moves through its third year of the pandemic, remote working is here to stay as it revolutionises […]

How To Start An Online Business As A Student

Many of you pursuing student life have a high desire to do jobs. In this case, you can’t get enough […]

Two of our favorite plugins are WP All Import and Rank Math.

They're widely used on WordPress websites. Both make a lot of tasks, much easier to deal with.

However, there's no real support between the two, in terms of add-on or integration out of the box.

So to import data into a WordPress site using WP All Import and apply values for Rank Math metadata, we have to assign them manually.

The good news is, it's easy and we will explain it step by step in this tutorial.

A Quick Intro

Rank Math is an SEO plugin, gaining popularity in the recent years.

It's 100% free and probably the best alternative to Yoast, or any other SEO plugin, in our opinion.

WP All Import is a time-saver when it comes to importing data. It supports WooCommerce, ACF Pro, and many other cool features.

The plugin isn't free, but it's worth it once you calculate how much time it saves you.

Preparing the CSV File

The first step is to prepare your CSV file, which is used to import the data. You need to assign three main titles;

  • Rank Math Title (which is the SEO Title)
  • Rank Math Description (which is the post meta description)
  • Rank Math Keyword (this is the focus keyword, which RM uses as a reference)

Importing into WP All Import

From the site dashboard, head to All Import > Create a new import, edit the existing one, and scroll down to Custom Fields.

Each Custom Field has a Name and Value.

Under Name, type the Rank Math meta keys, coresponding to the Name from the CSV file.

The values (Rank Math keys) for the above given titles are

  • rank_math_title
  • rank_math_description
  • rank_math_focus_keyword

Refer to the image below;

how to use WP All Import with Rank Math
How to use WP All Import with Rank Math

Finish the rest of the fields you normally want to import, i.e., featured image, categories, other custom fields, etc., and confirm to import.

more on WP All Import Custom Fields, check out the official documentation here.

The Complete List of Rank Math Meta Keys

As I couldn't find the complete list (at the time of searching), I had to reach out to the developers & support at RM to get the list.

Here's the complete list of Rank Math available meta keys, that you can use when importing via WP All Import:

  • rank_math_title
  • rank_math_description
  • rank_math_focus_keyword
  • rank_math_canonical_url
  • rank_math_robots
  • rank_math_rich_snippet
  • rank_math_seo_score
  • rm_rank_math_404_logs
  • rm_rank_math_internal_links
  • rm_rank_math_internal_meta
  • rm_rank_math_redirections
  • rm_rank_math_redirections_cache
  • rm_rank_math_schema
  • rm_rank_math_schema_cache
  • rm_rank_math_sc_analytics

Use them the same way as importing the titles and description explained above, change the name (your CSV file field), and connect it with the corresponding key to link with Rank Math.

TL; DR Version

Here's a quick how-to, if you need more details read the entire post.

Prepare the CSV File

Set the fields for Rank Math Title, Description, Keyword..

Preparting Custom Fields

Connect Name with Value fields in WP All Import Custom Fields

Rank Math Keys

Most used keys are
rank_math_title
rank_math_description
rank_math_focus_keyword
For the complete list refer to the article section.