Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Could you please share the three functions you are using so we can check and update them?
You can paste the code using this tool and share the link here.
Looking forward to helping you.
Thank you.
sorry, I mean this your post:
https://rankmath.com/kb/how-to-automate-the-insertion-of-focus-keyword/
I would to use all of those!
Title as the Focus keyword
Tags as the Focus Keyword and
Product Category as the Focus Keyword
Hello,
These three functions share the same function name which is update_focus_keywords(). You would need to change it to something different like update_focus_keywords1(), update_focus_keywords2() or update_focus_keywords3() and the PHP issue should go away.
After updating the function name, you also need to change the callback function string in the add_action:
add_action('init', 'update_focus_keywords1'); ...
Let us know how that goes. Looking forward to helping you on this one.
Works great!
Thank you so much!!!
please read my blog and let me know ♥
Hello,
Glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.
I correct myself: with your script running, every time I create or modify a post, the consumption of the cpu and the database fly high!
[Moved to Sensitive Data section]
I believe this problem is generated because I have about 3k posts.
I think it’s best to have him perform one swap operation at a time, with an alter when the operation ends.
Now all works to uodate finished, and now all works well!
Hello,
I am glad that it works now on your end.
If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.