wordpressgoogle-search

How to edit the title appearing on the mobile version of google results page?


This is a bit of a SEO question. If you search something on Google on a mobile device you see something like this:

enter image description here

How do you edit or change the word inside the red circle? I thought it reflected what you have inside the title meta tag but it doesn't seem to be the case.


Solution

  • Add the below meta tags in the header.php file (Appearance -> Theme File Editor -> Header.php)

    Note: You can also access and edit the header.php file from wp-content/themes/{YOUR_THEME}/header.php via FTP/SSH

    og:title is responsible for title shown in Google search results. For more details check out this link https://ogp.me/

    <head>
    <meta property="og:title" content="Your Title" />
    <meta property="og:image" content="Your Image URL" />
    <meta property="og:description" content="Description " />
    <meta property="og:site_name" content="My Website, Inc." />
    </head>
    

    Alternate Method : you can use Meta Tag Manager to edit meta tag via plugin