Auto key focus problem

#415838
  • Resolved Mtostar
    Rank Math free

    Hello
    My site has 5000 posts
    And if I want to fix 5000 posts with focus keywords, it will take a long time
    I recently got acquainted with your plugin
    But there is a problem, you haven’t put any solution for your keyword focus in the settings
    for example
    In the title and meta section » post type » single post description
    We can fill in the specifications for automatic work, which makes our work easier for adding tags and titles to posts and displays all posts in that way, but you have not put any solution for a focus keyword that automatically adds the keyboard from the title. or added from tags

    Please include this issue in the next update

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    By default, the keywords feature is not included in the Titles & Meta settings.

    However, to automate the focus keywords on your post/pages, please follow the steps on this link:
    https://rankmath.com/kb/how-to-automate-the-insertion-of-focus-keyword/

    I hope that helps.

    Thank you.

    Mtostar
    Rank Math free

    I referred to the mentioned link

    But when I add the mentioned codes
    The site gives an error

    But it works when the codes I add to add tags to keyboard focus are added correctly

    Mtostar
    Rank Math free

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    Anas
    Rank Math business

    Hello,

    Can you please share the error log with us?

    Having an error log will help us determine what is causing the critical error on your website.

    You can follow this guide to enable debugging in WordPress
    https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, they will help you locate the log file.

    You can also try to limit the number of posts and see if that helps.

    You can limit the number of posts that you process each time by setting a limit on the posts like so:

    'posts_per_page' => 100
    

    You can then add an offset to the function as well to continue adding the focus keywords to newer posts. So, after changing the first 100 posts you add an offset of 100 to the function like so:

    'offset' => 100
    

    You can continue to increase the offset by 100 until it runs through all of the posts.

    Each time you run the function, you can add 100 to the offset value like,

    1st time : 'offset' => 0, 
    2nd time : 'offset' => 100,
    3rd time : 'offset' => 200,
    
    And so on...

    Hope this helps solve your issues.

    Looking forward to helping you.

    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.

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

The ticket ‘Auto key focus problem’ is closed to new replies.