Meta tag issue?

#792955
  • Resolved Anonymous
    Rank Math free

    Hi;
    <meta name=”viewport” content=”width=device-width, initial-scale=1″>

    How can I add “maximum-scale=1.0” tag in addition to this tag?
    Thanks.

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

    To add the additional tag “ along with the existing viewport tag, you can follow these steps:

    1. Locate your theme’s functions.php file or create a rank-math.php file in the path /wp-content/themes/theme-name/rank-math.php using FTP or cPanel File Manager.

    2. Open the functions.php or rank-math.php file and add the following code snippet:

    /**
     * Add additional viewport meta tag.
     */
    function add_additional_viewport_tag() {
        echo '';
    }
    add_action( 'wp_head', 'add_additional_viewport_tag' );
    1. Save the changes to your file.

    By adding this code snippet, you will include the additional viewport meta tag “ on your website.

    If you encounter any issues or need further assistance, please feel free to ask.

    Thank you for reaching out!

    Sources:
    Open Graph Meta Tags » Rank Math
    Why Google Displays URL Instead of Site Name in SERP? » Rank Math

    Anonymous
    Rank Math free

    I want to add an existing meta file.
    Available : <meta name=”viewport” content=”width=device-width, initial-scale=1″>
    In addition ; <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0″ />
    I want to add

    Anonymous
    Rank Math free

    @Princess Do you have any ideas?

    Hello,

    Please note that the viewport meta tag is not controlled by Rank Math.

    If you want to modify it, we suggest getting in touch with your theme provider for assistance.

    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 ‘Meta tag issue?’ is closed to new replies.