• Hi,

    I’m trying to add a verification code in the header chanding the header.php file but don’t know what happens that when I upload the file throug FTP, although the verification tag is added, it doesn’t show up on the web.
    If I go to appearance>personalisation>header.php the verification code appears. But when I consult the html of the web, it does not appear.

    Does anyone know why?

    Thank you so much.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you talking about the Google verification code meta tag? I see one on your site and it’s under an All in One SEO comment tag. So, maybe even though you add it, that plugin is replacing it automatically. Try disabling All in One SEO and see if it makes a difference.

    <!-- All in One SEO 4.1.2.1 -->
    <meta name="google-site-verification" content="G-XXXXXXXXXX" />

    There may also be a cached version of the page from before you added the code.
    https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/

    Thread Starter periperkins

    (@periperkins)

    Hi, @rickymccallum87 thank you for your quick response. No it’s not a Google code. It’s a FB Verification code.

    <meta name="facebook-domain-verification" content="2hys9zuedjrtvbv9953uvo4xqr3shy" />
    

    In the header.php file is added but it doesn’t appear in the website:

    <!-- Meta Tags -->
    		<meta name="facebook-domain-verification" content="2hys9zuedjrtvbv9953uvo4xqr3shy" />
        <meta mediarset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <?php wp_head(); ?>

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can not edit header.php from FTP’ is closed to new replies.