[Support request] Verifying Website With Google

Home Forums Support [Support request] Verifying Website With Google

Home Forums Support Verifying Website With Google

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1545961
    Lee

    Hello there, I’ve been given a verification code from Google Search Console that I need to upload to my wordpress website.

    Could you please tell me where I might need to upload this code within WordPress/Generate Press?

    Many thanks again,

    #1546217
    David
    Staff
    Customer Support

    Hi there,

    you can use a Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    Add the code to the Hooks content field.
    Select the wp_head hook
    And set the Display Rule Location to Entire Site

    #1563397
    Lee

    Thanks David.

    Although, when I do this the verification code appears on the top of the page when I view the website? I don’t want the verification code to appear on the front end of the website. I want it embedded (so that I can verify with Google) but hidden.

    I hope that makes sense,

    Lee.

    #1563524
    David
    Staff
    Customer Support

    One of them Methods Google provides for verification is the HTML Tag, it looks like this:

    <meta name="google-site-verification" content="your verification string">

    That is all you need to hook into the wp_head hook

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.