I have added meta tags as shown below.
<meta name="keywords" content="abc, efg" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
I was expecting this to work with google search however when I search for abc (for example purpose), I don’t see my site in google. So just curious that above meta tag is not working.
HTML generated file is
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/themes/sam/theme.css?ln=primefaces" />
<link type="text/css" rel="stylesheet" href="/faces/rfRes/skinning.ecss?db=eAHL6rC8BQAEkAIG" />
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/buttonStyles.css?ln=css" />
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/menuss.css?ln=css" />
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/setFontForAll.css?ln=css" />
<script type="text/javascript" src="/faces/javax.faces.resource/js/dropdownmenu.js"></script>
<script type="text/javascript" src="/faces/javax.faces.resource/js/menu.js"></script>
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/menus_w.css?ln=css" />
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/menus.css?ln=css" />
<link type="text/css" rel="stylesheet" href="/faces/javax.faces.resource/myFont.css?ln=css" />
<meta name="keywords" content="abc, efg, xyz" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Welcome to My Site
</title>
</head>
Please let me know what I am missing so that on search I should get my site in google.
Keywords in
html:metaare pretty much ignored by all systems that matter because they usually do not reflect the content of the page very well. Aspects that do matter includemeta name="description"(this can be used as a description on a search results page); keyword density of the content (do not use your keywords too much, but obviously not too little either); whether or not the keyword(s) appear in the URL (and, preferably, the domain name); how many websites and webpages link to your page; the rating of the entities that refer to your page; how long the content exists (longer is better); how often the websites that hosts your content is updated (more often is better); how accessible your content is to agents (both people as robots); how much you pay to Google (this should be obvious); et cetera.So, yeah, short answer: it does not work, but other things do.
Also, make sure an entity that is known at Google links to your content. If not, Google will have a very hard time finding it. You can submit your websites/webpage to Google directly, but I have been told you get a better initial rank if Google finds your content by following a referring link itself.