Title: action=wp_convert_schema_posts
Last modified: September 26, 2020

---

# action=wp_convert_schema_posts

 *  Resolved [kamrafique](https://wordpress.org/support/users/kamrafique/)
 * (@kamrafique)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/)
 * Hi.
 * My web host has blocked my site as a script has looped too many times.
 * CPU/hr: 55,259 (web host has a limit of 2000)
    Program executions/hr: 12,505 (
   web host has a limit of 2000)
 * See below:
 * “We have conducted a thorough investigation which showed that one of your scripts
   loops and spawns too many processes. The script that loops (i.e. references itself)
   is:
 * <site>/wp-admin/admin-ajax.php /home/<site>/public_html/wp-admin/admin-ajax.php
 * For additional information please review the server logs below:
 * <ip> <site> – [25/Sep/2020:21:24:10 0000] “POST /wp-admin/admin-ajax.php?action
   =wp_convert_schema_posts&nonce=1443e4874c HTTP/1.1” 499 0 “<site>/wp-admin/admin-
   ajax.php?action=wp_convert_schema_posts&nonce=1443e4874c” “WordPress/5.5.1; <
   site>” | TLSv1.3 | – 0.984 0.984 – W NC:100000 UP:0
 * Your FB page has confirmed the above script was run by your latest plugin update:
   “
   Just curious, does your plugin log this? “POST /wp-admin/admin-ajax.php?action
   =wp_convert_schema_posts&..” – Kam
 * “Hi Kam, yes, this is a converter that runs after updating the plugin and converts
   old Schema into a revamped Schema format.”
 * WP: 5.5.1
    WC: 4.5.2 Storefront: 2.7.0 Rank Math: 1.0.48
 * Please can you investigate and confirm a fix?
    Thanks.

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13458261)
 * Hello [@kamrafique](https://wordpress.org/support/users/kamrafique/)
 * Thank you for contacting the support and sorry for any inconvenience that might
   have been caused due to that.
 * Can you please check if there are any errors in the error log as we are not able
   to reproduce the error?
 * Also, if you want, you can run the converter manually from here:
    `/wp-admin/
   admin.php?page=rank-math-status&view=tools` [https://i.rankmath.com/n8nPPG](https://i.rankmath.com/n8nPPG)
 * Looking forward to helping you.
 *  Thread Starter [kamrafique](https://wordpress.org/support/users/kamrafique/)
 * (@kamrafique)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13459947)
 * Hi.
 * Not sure I want to run the manual converter until this issue is resolved as it
   may cause issues again.
 * I think the script updated quite quickly as I got this message:
    “Rank Math: 
   Converted 47 posts successfully from old Schema data format to new.”
 * I have mostly variable products.
 * I don’t have logs from that date, however, this is from today:
 * 2020-09-27 13:34:27 UTC [apache][access_compat:error] [pid 53787] [client <IP
   address>:48082] AH01797: client denied by server configuration: /home/<removed
   >/www/<removed>/public_html/wp-admin/admin-ajax.php, referer: [https://<site>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce=d4aedadfeb](https://<site>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce=d4aedadfeb)
 * I had another SEO plugin and used yours to switch that out and your in as part
   of your plugin feature if that helps.
 * Happy to send you my setup in private if needed.
 * Thanks.
 *  [thedermdetective](https://wordpress.org/support/users/thedermdetective/)
 * (@thedermdetective)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13460028)
 * OP & RM,
 * I am having the same issue here and my host shut me down as well for this looping
   script problem. Very inconvenient – please find a fix soon as I had to disable
   RM in order to get my website back up.
 * Thanks
 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13460435)
 * Hi [@thedermdetective](https://wordpress.org/support/users/thedermdetective/),
 * It would be great if you can share the errorlog or any helpful log from your 
   host? We are still trying to find the issue but we are unable to reproduce it.
 * Looking forward to helping you.
 *  [thedermdetective](https://wordpress.org/support/users/thedermdetective/)
 * (@thedermdetective)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13460471)
 * Hello RM,
 * Here are the server logs my host provided. I have replaced my website URL for
   privacy reasons.
 * 35.208.152.45 <domain name> – [26/Sep/2020:17:35:33 0000] “POST /wp-admin/admin-
   ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain
   name>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015”“
   ISFxH9iENECH” | TLSv1.3 | 1.478 1.478 1.478 – W NC:000000 UP:1
    35.208.152.45
   <domain name> – [26/Sep/2020:17:35:33 0000] “POST /wp-admin/admin-ajax.php?action
   =wp_convert_schema_posts&nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain name>/wp-admin/
   admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015” “he8oVDoxPdyu”
   | TLSv1.3 | 1.124 1.124 1.124 – W NC:000000 UP:1 35.208.152.45 <domain name> –[
   26/Sep/2020:17:35:33 0000] “POST /wp-admin/admin-ajax.php?action=wp_convert_schema_posts&
   nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain name>/wp-admin/admin-ajax.php?action
   =wp_convert_schema_posts&nonce=2fbcdb6015” “oIsDToiAL9zr” | TLSv1.3 | 1.454 1.454
   1.454 – W NC:000000 UP:1 35.208.152.45 <domain name> – [26/Sep/2020:17:35:33 
   0000] “POST /wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015
   HTTP/1.1” 200 0 “<domain name>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&
   nonce=2fbcdb6015” “Ewi8FvvEGw11” | TLSv1.3 | 0.425 0.425 0.426 – W NC:000000 
   UP:1 35.208.152.45 <domain name> – [26/Sep/2020:17:35:33 0000] “POST /wp-admin/
   admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015 HTTP/1.1” 200 
   0 “<domain name>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce
   =2fbcdb6015” “7QTqeDJ7bd7g” | TLSv1.3 | 1.483 1.483 1.482 – W NC:000000 UP:1 
   35.208.152.45 <domain name> – [26/Sep/2020:17:35:33 0000] “POST /wp-admin/admin-
   ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain
   name>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015”“
   say7SFnUf9Kc” | TLSv1.3 | 1.418 1.418 1.418 – W NC:000000 UP:1 35.208.152.45 
   <domain name> – [26/Sep/2020:17:35:33 0000] “POST /wp-admin/admin-ajax.php?action
   =wp_convert_schema_posts&nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain name>/wp-admin/
   admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015” “CvMnDxNQfMor”
   | TLSv1.3 | 1.479 1.479 1.479 – W NC:000000 UP:1 35.208.152.45 <domain name> –[
   26/Sep/2020:17:35:33 0000] “POST /wp-admin/admin-ajax.php?action=wp_convert_schema_posts&
   nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain name>/wp-admin/admin-ajax.php?action
   =wp_convert_schema_posts&nonce=2fbcdb6015” “7mjYTmayh668” | TLSv1.3 | 22.520 
   22.520 22.520 – W NC:000000 UP:1 35.208.152.45 <domain name> – [26/Sep/2020:17:
   35:33 0000] “POST /wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce
   =2fbcdb6015 HTTP/1.1” 200 0 “<domain name>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&
   nonce=2fbcdb6015” “dLnomyBy1w6k” | TLSv1.3 | 1.497 1.497 1.497 – W NC:000000 
   UP:1 35.208.152.45 <domain name> – [26/Sep/2020:17:35:33 0000] “POST /wp-admin/
   admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015 HTTP/1.1” 200 
   0 “<domain name>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce
   =2fbcdb6015” “wOcEvKWWvvNX” | TLSv1.3 | 1.459 1.459 1.459 – W NC:000000 UP:1 
   35.208.152.45 <domain name> – [26/Sep/2020:17:35:33 0000] “POST /wp-admin/admin-
   ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain
   name>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015”“
   CMw38krgqH7D” | TLSv1.3 | 1.536 1.536 1.536 – W NC:000000 UP:1 35.208.152.45 
   <domain name> – [26/Sep/2020:17:35:34 0000] “POST /wp-admin/admin-ajax.php?action
   =wp_convert_schema_posts&nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain name>/wp-admin/
   admin-ajax.php?action=wp_convert_schema_posts&nonce=2fbcdb6015” “6Fycxaav6o8K”
   | TLSv1.3 | 22.744 22.744 22.743 – W NC:000000 UP:1 35.208.152.45 <domain name
   > – [26/Sep/2020:17:35:34 0000] “POST /wp-admin/admin-ajax.php?action=wp_convert_schema_posts&
   nonce=2fbcdb6015 HTTP/1.1” 200 0 “<domain name>/wp-admin/admin-ajax.php?action
   =wp_convert_schema_posts&nonce=2fbcdb6015” “zNjwWkWcBxR8” | TLSv1.3 | 21.481 
   21.481 21.481 – W NC:000000 UP:1 35.208.152.45 <domain name> – [26/Sep/2020:17:
   35:34 0000] “POST /wp-admin/admin-ajax.php?action=wp_convert_schema_posts&nonce
   =2fbcdb6015 HTTP/1.1” 200 0 “<domain name>/wp-admin/admin-ajax.php?action=wp_convert_schema_posts&
   nonce=2fbcdb6015” “M2T8g9nxjCrQ” | TLSv1.3 | 1.436 1.436 1.436 – W NC:000000 
   UP:1
 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13460726)
 * Could you please confirm, how many posts, pages, and single CPT items you have
   on your website?
 *  Thread Starter [kamrafique](https://wordpress.org/support/users/kamrafique/)
 * (@kamrafique)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13460782)
 * posts: 1
    pages: 24 (published), 2 (private) products: 35 (published), 1 (private)
   product categories: 21 product tags: 27
 * my web host confirmed that the script (\admin-ajax.php?action=wp_convert_schema_posts)
   was running at 10+ times per second.
    issue has not recurred since i updated 
   the plugin when the new schema was converted.
 *  Thread Starter [kamrafique](https://wordpress.org/support/users/kamrafique/)
 * (@kamrafique)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13460793)
 * fyi – not sure if this is related and as this doesn’t appear to be a global issue,
   I have this custom script to remove errors and warnings in google search console:
 * /**
    * Remove the generated product schema markup from Product Category and Shop
   pages. */ function wc_remove_product_schema_product_archive() { remove_action(‘
   woocommerce_shop_loop’, array( WC()->structured_data, ‘generate_product_data’),
   10, 0 ); } add_action( ‘woocommerce_init’, ‘wc_remove_product_schema_product_archive’);
 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13465502)
 * Hello [@kamrafique](https://wordpress.org/support/users/kamrafique/)
 * > my web host confirmed that the script (\admin-ajax.php?action=wp_convert_schema_posts)
   > was running at 10+ times per second.
   >  issue has not recurred since i updated
   > the plugin when the new schema was converted.
 * It is fine if the query is running 10+ times. We convert the Schema in the chunks
   of 10 posts and since your site has 100+ posts, the query will run more than 
   10 times.
 * > fyi – not sure if this is related and as this doesn’t appear to be a global
   > issue, I have this custom script to remove errors and warnings in google search
   > console:
 * For this, we have an option in Titles & Meta settings to disable the Schema data
   on Product Category page. And if you want to disable it from Shop archive page,
   then you can do so from Dashboard >> Rank Math >> General Settings >> Remove 
   Schema Markup on Shop Archives.
 * Hope that helps. Thank you.
 *  Thread Starter [kamrafique](https://wordpress.org/support/users/kamrafique/)
 * (@kamrafique)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13467243)
 * Hi [@rankmath](https://wordpress.org/support/users/rankmath/).
 * OK thanks, will use your plugin instead of the custom code.
 * Did you find out why we got the spike in traffic from your plugin causing our
   sites to get switched off by the web host?
    -  This reply was modified 5 years, 8 months ago by [kamrafique](https://wordpress.org/support/users/kamrafique/).
 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13468399)
 * Hello [@kamrafique](https://wordpress.org/support/users/kamrafique/)
 * That could be caused due to limited resources allocated to your website.
 * If your website is running fine now and all the posts are converted to the newer
   Schema Markup, you should be all good.
 * Please let us know if there’s anything else we can help you with. Thank you.
 *  Thread Starter [kamrafique](https://wordpress.org/support/users/kamrafique/)
 * (@kamrafique)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13468487)
 * Hi [@rankmath](https://wordpress.org/support/users/rankmath/).
 * My web host confirmed the reason as too many loops from your script – see my 
   first post.
 * I have another site on the same host which updated ok, so I don’t think it is
   resource allocation.
 * Anyway, looks like there is no more progress on this, so we can leave it here.
 * Hi [@thedermdetective](https://wordpress.org/support/users/thedermdetective/).
 * If interested, happy to jump on a call to try and figure out what is common on
   our sites which might have caused this. I doubt any of us want our sites to go
   down again.
 *  [thedermdetective](https://wordpress.org/support/users/thedermdetective/)
 * (@thedermdetective)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13469754)
 * [@kamrafique](https://wordpress.org/support/users/kamrafique/) great idea! I 
   can send you an email with a list of my installed plugins. Perhaps there is a
   similarity there? My email – [tom@thedermdetective.com](https://wordpress.org/support/topic/actionwp_convert_schema_posts/tom@thedermdetective.com?output_format=md)
 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13475953)
 * Hello [@kamrafique](https://wordpress.org/support/users/kamrafique/) & [@thedermdetective](https://wordpress.org/support/users/thedermdetective/)
 * You can also search on our website’s support forums or contact us and see if 
   you can find any similar topics.
 * Hope that helps further. Thank you.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘action=wp_convert_schema_posts’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

## Tags

 * [admin-ajax.php](https://wordpress.org/support/topic-tag/admin-ajax-php/)

 * 14 replies
 * 3 participants
 * Last reply from: [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/actionwp_convert_schema_posts/#post-13475953)
 * Status: resolved