• Resolved craigind

    (@craigind)


    I have an odd issue. I used Yoast to add the Google site verification code. it worked fine to verify the website, it works ok on my computer, you hardly notice the line of code it adds at the top of the page “google-site-verification=…
    HOWEVER when it you view the website on a phone the lie of code is longer then the width of the page, so it forces the page to display smaller then the screen to accommodate the entire line of code. any idea how I can fix this? perhaps there is a way to make the text in that command much smaller font?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • MariusG

    (@marius_codeinwp)

    Hi @craigind,

    The verification code should never be visible, it is a meta tag which is visible to search engines only.

    We’ve inspected your website and noticed that it’s a different plugin or a custom solution that adds that line (which is visible). Yoast SEO adds the verification code correctly as a meta tag: https://i.imgur.com/MftLDVI.png

    However, lower in the source there is a another verification code which is added as plain text, not as a meta tag: https://i.imgur.com/CSGUdQX.png

    The line in the second screenshot is not only the reason why it’s visible on your website, but it’s also useless as search engines will not recognize it (because it’s not written as a meta tag). Unfortunately, we couldn’t provide you with an exact solution on how to remove that line as it’s not added by Yoast SEO.

    It could either be added using a plugin that allows adding code to head, as a custom function of your theme or even hardcoded into the theme.

    We hope to have cleared things up for you and please don’t hesitate to let us know if you have any further questions.

    Plugin Support Michael Tiña

    (@mikes41720)

    Setting to resolved.

    Thread Starter craigind

    (@craigind)

    Thank you for your help. While trying to add the tag I had mistakenly added it as a header. Of course that did not work Your plugin did the trick
    Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘google site verification issue’ is closed to new replies.