Meta Description and meta keywords in Homepagr

#67219
  • Resolved Laksitha
    Rank Math free

    Dear Team,
    Appriciate if you can help me with below issues
    issues
    1.Meta description to home page already added using rank math seo plugin but it doesn’t appear ,kindly advise
    advise
    2.can you please let me know how to add meta keyword to homepage using rank math seo plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Alberto
    Rank Math business

    Hello,

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

    1. For that issue, we usually recommend to check a guide that I will attach now. If after that you still don’t figure the issue, we could check it:

    ​1. First of all, I am assuming that you have already changed the SEO Meta Title and Meta Description with the help of Rank Math:
    Add a Meta Description in Classic Editor:

    Add title and description in Gutenberg:



    ​2. Then, ensure that this is the setting in the Schema tab if Rich Snippets are enabled on your website:


    ​To reiterate, the Schema title must show %seo_title% and the description should show %seo_description% – this will ensure your SEO title and SEO Description that you set up via Rank Math can also be used for your schema details:

    ​3. The next step is to check if your title/description is properly set up in the page source:
    https://i.rankmath.com/HwXR1o

    You can use this tool for the same as well: https://www.heymeta.com/

    4. If it matches your settings, then you must check if Google has seen the changes already or not.

    For that, please check when the Google cache was updated for that page:
    a.

    b.

    If the cache date is from before adding the new meta description, then you just have to wait for Google to re-crawl and re-index the page with the new info. If the date is after you made the changes,

    ​Do note that if everything’s fine and Google still decides to show a different meta title/description for your search keyword, there is nothing you can do as Google sometimes ignores the custom meta info altogether and show something from the page’s content that matches the search intent better.

    The best you can do is optimize your meta tags to try and match the intent of the search/keyword.

    You can read more about it here

    https://support.google.com/webmasters/answer/35624?hl=en

    This section sheds light on that:

    Why the search result title might differ from the page's <title> tag

    2. About the second one, ​please note that Google does not honor Meta Keywords for quite a long now so we never added them to the plugin.

    You can read more about that here:
    https://webmasters.googleblog.com/2009/09/google-does-not-use-keywords-meta-tag.html

    ​However, you can use the focus keyword set within Rank Math as meta keyword for your posts/pages/products using this filter in your theme’s functions.php file:
    ​https://rankmath.com/kb/filters-hooks-api-developer/#9-filter-to-add-the-keywords-meta-tag

    Looking forward to help you.

    Thank you very much for the reply.
    Can you please let me know how to add meta keywords within rank math using theme functions.php file

    .i just copy and paste below in functions.php file ?

    https://rankmath.com/kb/filters-hooks-api-developer/#9-filter-to-add-the-keywords-meta-tag

    Alberto
    Rank Math business

    Hello,

    Yes, you only need to paste the following code at the end of the functions.php file in your current theme:

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

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

The ticket ‘Meta Description and meta keywords in Homepagr’ is closed to new replies.