Header Code Meta Tag Guidelines
2 min read
Adding header code meta tags to the <head> section of your site's code allows search engines like Google to verify your site and recognize you as the site's owner.
You can add meta tags to your site on the Advanced SEO panel of individual pages or by embedding custom code to your site.
Guidelines for Adding Header Codes to Your Page
Follow the guidelines below to make sure your header code is written correctly:
- The following types of tags can be added:
- Link
- Meta
- Comment
- Only add up to 2000 characters.
- Do not add free text. Only valid HTML tags <> are accepted.
- Do not add scripts. <script> won't pass validation.
- Do not add the following tags:<html> <head> <body>.
- The following codes are not accepted, as Wix automatically generates these tags for you. It is not possible to add a duplicate tag for:
- When adding multiple verification meta tags, add all of the tags consecutively, without separating them with spaces or commas. Make sure each tag has open ('<') and close ('>') tags.
Important:
For Pinterest verification, you must first connect your own domain to your Wix site and upgrade to a Premium Plan.
Correct Format for Header Codes (Per Tool)
Tool | Code |
---|---|
Google Search Console | <meta name="google-site-verification" content="Code from Google Webmaster tools"/> |
For Bing Webmaster tools | <meta name="msvalidate.01" content="Code from Bing Webmaster tools"/> |
Pinterest verification | <meta name="p:domain_verify" content="Code from Pinterest"/> |
Yandex webmaster tools | <meta name= "yandex-verification" content="Code from Yandex Webmaster tools"/> |
Norton safe web site verification | <meta name="norton-safeweb-site-verification" content="Norton Code"/> |
Twitter cards | <meta name="twitter:card" content="summary"> <meta name="twitter:site" content="@TwitterUserName"> <meta name="twitter:title" content="home page meta title"> <meta name="twitter:description" content="write your description here"> <meta name="twitter:image" content="imageUrl.jpg"> |
Tip:
Need help getting your site found in search results? Check out Wix SEO Setup Checklist for a step-by-step plan designed to help improve your site's SEO.
Did this help?
|