Focufocus key from the title

#472865
  • Resolved Hodo
    Rank Math free

    Hello there.
    I’m facing a situation: I have successfully used until now, the code that automatically adds the focus key from the title.
    I noticed that after the last update of the feed products, i observe the last added products were not added, keywords.
    I activated/deactivated the code, changed the number of pages, renumbered, clear cache, refresh… it doesn’t work.
    I would like please, help in fixing this situation, the automatic addition of outstanding keywords + the automatic addition of words when a new product is added.
    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    You mentioned that you are working with products to add the focus keyword automatically. However, in your code, it seems that the filter is pointing to the post. Please refer to my screenshot below:

    post

    To apply this to the product, you need to change post_type to “product”.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hodo
    Rank Math free

    Yes.
    That is right.
    After I saw that no focus key was added to the new updated products, I copied the code again and forgot to change it in the product. However, it was a small glitch, since the last products have not been added key words.
    My bad.
    I replaced it, recalculated the score and everything seems fine.
    Now if I add posts_per_page’ => -1, and leave the code active, it should be added automatically at the next fedd update, with possible new products, right?
    Also, is there any code to trigger, update seo scores, for these new products?

    Nigel
    Rank Math business

    Hello,

    Once you have updated the focus keyword for all your posts/products, you can change the posts_per_page to positive 1: 'posts_per_page' => 1 this will update the focus keyword for only the latest post.

    There is no way to automatically recalculate the focus keyword. It can only be recalculated from your web browser.

    Hope that helps. Please let us know if you have questions.

    Hodo
    Rank Math free

    Perfect.
    Thank you

    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.

    Hodo
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank 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 6 replies - 1 through 6 (of 6 total)

The ticket ‘Focufocus key from the title’ is closed to new replies.