What are the important meta tags I must put in my website? [closed]
Asked Answered
M

8

91

There seems to be huge number of meta tags you can set. I'm guessing that some of them are more important than others.

What are the most important metatags to supply and why?

Do I even need meta tags? (looking at the stackoverflow homepage there are none)

Morea answered 7/7, 2009 at 13:27 Comment(2)
Isn't this more of a ServerFault thing?Cuff
@David Thornley Why is web development not so question? Its a programming issue, surely?Morea
U
121

I realize this question is old, but it's still a top google hit, so I thought I would give an updated answer that includes popular social media sites.

I generally have four groups of meta info:


Regular Meta Info - used by search engines and browsers

<title>{{pageTitle}}</title>
<meta charset="utf-8"><!-- html5 version of http-equiv="Content-Type"... -->
<meta name="description" content="{{description}}">
<meta name="keywords" content="{{keywords}}">
<link rel="author" href="https://plus.google.com/{{googlePlusId}}" />
<link rel="canonical" href="{{pageUrl}}" />


Facebook Meta Info - used by Facebook when someone shares your url

<meta property="og:url" content="{{pageUrl}}">
<meta property="og:image" content="{{imageUrl}}">
<meta property="og:description" content="{{description}}">
<meta property="og:title" content="{{pageTitle}}">
<meta property="og:site_name" content="{{siteTitle}}">
<meta property="og:see_also" content="{{homepageUrl}}">


Google+ Meta Info - used by Google+ when someone shares your url

<meta itemprop="name" content="{{pageTitle}}">
<meta itemprop="description" content="{{description}}">
<meta itemprop="image" content="{{imageUrl}}">

Note: you don't really need these, Google+ will fall back to the Open Graph tags that Facebook uses.


Twitter Meta Info - used by Twitter when someone shares your url

<meta name="twitter:card" content="summary">
<meta name="twitter:url" content="{{pageUrl}}">
<meta name="twitter:title" content="{{pageTitle}}">
<meta name="twitter:description" content="{{description}}">
<meta name="twitter:image" content="{{imageUrl}}">
Utica answered 18/9, 2013 at 12:29 Comment(0)
G
24

I'll use my same answer from this question:

A few years back, meta tags were important to search engine optimization. However, they've been abused and are generally ignored by almost all search engines (including Google, Yahoo and Live search. Excuse me: Bing).

The most important tags for SEO that you can include in your (X)HTML are the <title> and <meta name="description"...> tags.

  • <title> should generally be what you'd want the search engine to name your page in it's listing.
  • <meta name="description"...> can sometimes give the search engine a basic idea of how to describe your page when indexing it.

However, using these two tags will not necessarily make a difference in increasing your site's visibility on a search engines listings. For more information on that aspect, Google has a nice section on SEO on their site.

Gangrene answered 7/7, 2009 at 13:31 Comment(0)
R
13

Update May 2015: Still being a very popular answer, I recommend you look at @alden's answer as it is much more updated then my own (6 years old now)

Original answer follows:


<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> 

To tell the browser what the content type and encoding is

<meta NAME="ROBOTS" CONTENT="NOODP">

See http://www.mattcutts.com/blog/google-supports-meta-noodp-tag/ for why

<meta name="description"...>

Obvious

<meta name="keywords"...>

Google do not use this, but other search engines may

<meta HTTP-EQUIV="Expires" CONTENT="Tue, 20 Jun 1995 04:13:09 GMT">

If you know when you like this page to be expired from cache

Renelle answered 30/7, 2009 at 15:0 Comment(3)
what about <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />/ man?Airdrome
X-UA is for your IE browsers its related to compatibility ..Blackfish
Nir Levy. For the sake of friendliness to new arrivers I'm going to accept @alden's answer but thank you for your contribution. It was and is still very useful.Morea
C
7

The most important meta tag you should use is:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

adjusted to suit. This ensures that, if you ever need to transmit that HTML document via something other than a web server (e.g. working on it locally, sending as an attachment), the user-agent is aware of its mime-type and character set. Just make sure your server headers agree.

Chromatogram answered 7/7, 2009 at 13:56 Comment(1)
<meta charset="utf-8" /> is the HTML5 equivalent.Phina
C
3

The best SEO is a website that meets the needs of its target users effectively. To do that you need to have a site that has something in it that people can use, want, or need. This is value and its the most important thing. It can be anything from good articles to entertaining video or a useful download. Tags support good content but cant replace it for SEO. If the content is good enough no tags are needed. Trust me when I say, if your site has something, anything people want or need, that they can't get just anywhere, your site will do well in all regards, tags or no tags. If your site is boring and has no value it will fail, tags or no tags.

Claribelclarice answered 12/4, 2010 at 14:57 Comment(0)
F
2

the description metatag will be used by google as description of your site. I think it's the most important.

I think that the verify-v1 meta is important. It makes possible to use Google Webmaster tool

Fitzger answered 7/7, 2009 at 13:43 Comment(0)
D
1

GoogleBot ignores meta information only trusting the page content itself rather than content descriptors. So, the usefulness of certain tags may be limited.

Diplostemonous answered 7/7, 2009 at 13:31 Comment(1)
Google DOES however use meta information in displaying the page in it's listings, so it's not entirely useless.Manana
S
1

I would make sure you have a title, description, keyword, and revisit-after tag in your web pages. Although Google doesn't weigh keyword tag as much, it may still be used by smaller search engines.

Sylviasylviculture answered 28/3, 2011 at 2:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.