Hello,
We apologize for the issue you are facing with importing your SEO post and page data from All in One SEO to Rank Math. It seems that the import process is not capturing all the necessary post meta data as expected.
Here are a few steps you can try to resolve this issue:
- Ensure All in One SEO is Deactivated: Make sure that the All in One SEO plugin is completely deactivated before attempting the import again.
- Clear Cache: If you have any caching plugins active, clear the cache to ensure that you are seeing the most recent changes.
- Re-import Data: Go to Rank Math SEO → Status & Tools → Import & Export and try the import process again. Make sure to select all settings and data during the import.
- Check for Conflicts: Sometimes, other plugins may conflict with the import process. Temporarily deactivate other plugins to see if that resolves the issue.
- Check Server Logs: If possible, check your server logs for any errors that might indicate what went wrong during the import process.
If these steps do not resolve the issue, please reply to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for raising this concern, and we appreciate your patience as we work to resolve it!
Here is an error in the log I see which might be the issue:
[06-Feb-2025 23:47:32 UTC] PHP Warning: Undefined array key “dynamic” in …/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/importers/class-aioseo.php on line 620
Hello,
In this case, please try reimporting the data again in Rank Math > Status & Tools > Import & Export > Other Plugins, then under the plugin column, uncheck the Calculate SEO Scores option below, and click the Import button.

If you want to recalculate the scores, then you can follow the steps in this link later on:
https://rankmath.com/kb/rank-math-status-and-tools/#recalculate-seo-score-for-posts
Let us know how this goes.
I am doing it with All in One SEO but when the Calculate SEO Scores checkbox is unchecked the result is the same:
[18:28:55] Import started…
[18:28:55] Importing settings
[18:28:58] Settings imported successfully.
[18:28:58] Importing postmeta
[18:29:00] Imported post meta for posts 1 – 10 out of 10
[18:29:00] Importing usermeta
[18:29:01] Imported user meta for users 1 – 1 out of 1
[18:29:01] Import finished.
Hello,
We checked some of the posts and pages but most of them contain AiOSEO’s default meta settings and don’t contain any focus keywords. Can you please share any posts or pages that contain individual AiOSEO meta data so we can compare them to Rank Math’s?
Looking forward to helping you.
Sure. Even the home page (post ID 528) SEO data (title and description) cannot be imported from the AIOSEO’s data.
I can see the fields in the database’s post_meta table (I did not include the SEO data in the screenshot):
https://prnt.sc/_x7Ihb1J1g9C
PS: I have added a full screenshot from the post_meta database table in the Sensitive Data part of the support ticket.
Hello,
We deeply apologize for the unexpected delay in response.
We already shared this issue with our developers and they are investigating it. As soon as we get some updates, we’ll make sure to let you know here.
We would really appreciate your kind patience regarding this issue.
Please don’t hesitate to let us know if you have any other questions.
Thank you.
Hello,
Since we’re not able to reproduce this issue on our dev setups, could you please include the FTP details as well, so we may troubleshoot further.
We look forward to having this issue resolved.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
I tried to enable debugging by editing the wp-config.php
as described at https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
but the newly edited file is not getting saved, but rather forces the contents of wp-config.php
file on your site to change making the site unreachable.
It has some comment from the iThemes Security ....
, could you please allow us to edit all files via FTP, you may install https://wordpress.org/plugins/wordfence/ for the audits later, when we’re done, so we can tell what files we edited on your site.
Thank you.
It seems that you have damaged the wp-config.php file during the upload. I have restored the old one. Please upload the files in binary mode when exchanging it on the server. I have turned on the debugging using WP Debugging and there is a menu with the log on the top Admin bar.
Here is something that came into the log:
[27-Feb-2025 00:21:06 UTC] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/../public_html/wp-content/plugins/seo-by-rank-math/includes/admin/importers/class-aioseo.php on line 576
[27-Feb-2025 00:21:06 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/../public_html/wp-content/plugins/seo-by-rank-math/includes/admin/importers/class-aioseo.php on line 580
[27-Feb-2025 00:21:06 UTC] PHP Warning Undefined array key “dynamic” in /home/../public_html/wp-content/plugins/seo-by-rank-math/includes/admin/importers/class-aioseo.php on line 619
[27-Feb-2025 00:21:06 UTC] PHP Warning Trying to access array offset on null in /home/../public_html/wp-content/plugins/seo-by-rank-math/includes/admin/importers/class-aioseo.php on line 619
[27-Feb-2025 00:21:07 UTC] PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/../public_html/wp-content/plugins/seo-by-rank-math/includes/admin/importers/class-aioseo.php on line 1053
Hello,
We’re not sure why the import only happens for the first page ( pagination ), you have a total of 13 pages each with 100 items.
We added a rank-math.php
file in your active theme ( you may delete this file when done ) , with below code, to include all items in the 1st page and checked post id 528 ( homepage ), the SEO description was imported as expected.
add_filter( 'rank_math/importers/items_per_page', function ( $items_per_page ) {
$items_per_page = 1500;
return $items_per_page;
});
We apologize for any inconveniences that might have been caused as a result of this issue.
Thank you.
The pages are actually 147 + we also need all the SEO data from the 476 posts imported. They are currently not imported. I checked several pages and no SEO titles, descriptions, etc. from All in One SEO is imported.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.