Question about keywords

  • I have set the keywords and details on the website through your plugin, but I have not found the meta keyword on the source code through the browser.Maybe this problem may be caused by me, but I don’t know if it is set up successfully. Can you check it for me? (Only check the home page.)

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

    Thank you for contacting Rank Math today.

    Rank Math does not add the keyword meta by default, you can however modify this behavior by adding the following code to your theme’s functions.php file:

     * Add <meta name="keywords" content="focus keywords">.
    add_filter( 'rank_math/frontend/show_keywords', '__return_true');

    Looking forward to helping you. Thank you.


    Is there any other way? I don’t want to modify the theme file because my theme file will have an official update.

    Hi Aiden,

    Thanks for the question.

    This is the recommended method to modify the plugin logic.
    I can suggest that you create a child theme and enter this code to ensure that future theme updates do not affect your custom code.

    I hope this info helps. Thank you.


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

The ticket ‘Question about keywords’ is closed to new replies.