SEO-Extra meta names question?
Posted: 10 Nov 2011, 10:55
I want to add some extra meta names to my site like:
To make it easy ı use "index_example.html"
I add these meta names too.
So far everything is fine, document was successfully checked as HTML5! at w3c validation site.
Here is the problem, ı try share button on an image then noticed the share link not make site start from image which ı shared, site is starting from "/start" folder.
I deleted my "default.html" to try it from "index.php" and share is now working well.
(By the way ıf we can show thumb of image in share links for facebook ext. it's gone be better.)
So now ı am using mysite from index.php, but ı can't add extra meta names now.
I find this file:
"iv-includes/templates/index.gallery.phtml"
Which includes these codes:
I changed it like this:
when ı try w3c validation it start to give error for line which ı added
<meta name="classification" content="example"/>
for last
Here is what w3c validation says:
" Error Line 6, Column 59: Bad value classification for attribute name on element meta: Keyword classification is not registered.
<meta name="classification" content="xxmyclassificationxx"/>
Syntax of metadata name:
A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.
"
Now ı don't know what to do adding extra meta names, could u help me please?
Code
<meta name="classification" content="example"/>
<meta name="abstract" content="example"/>
<meta name="distribution" content="example"/>
<meta name="category" content="example"/>
<meta name="author" content="example" />
<meta name="copyright" content="example" />I add these meta names too.
So far everything is fine, document was successfully checked as HTML5! at w3c validation site.
Here is the problem, ı try share button on an image then noticed the share link not make site start from image which ı shared, site is starting from "/start" folder.
I deleted my "default.html" to try it from "index.php" and share is now working well.
(By the way ıf we can show thumb of image in share links for facebook ext. it's gone be better.)
So now ı am using mysite from index.php, but ı can't add extra meta names now.
I find this file:
"iv-includes/templates/index.gallery.phtml"
Which includes these codes:
Code
<!DOCTYPE HTML>
<head>
<?php
$conf = ivPool::get('conf');
$keywords = $conf->get('/config/imagevue/seo/keywords');
$description = $conf->get('/config/imagevue/seo/description');
$counters = $conf->get('/config/imagevue/seo/counters');
?>
<meta charset="UTF-8">
<meta name="keywords" content="<?php echo htmlspecialchars($keywords); ?>" />
<meta name="description" content="<?php echo htmlspecialchars($description); ?>" />
...Code
<!DOCTYPE HTML>
<head>
<?php
$conf = ivPool::get('conf');
$keywords = $conf->get('/config/imagevue/seo/keywords');
$description = $conf->get('/config/imagevue/seo/description');
$counters = $conf->get('/config/imagevue/seo/counters');
?>
<meta charset="UTF-8">
<meta name="keywords" content="<?php echo htmlspecialchars($keywords); ?>" />
<meta name="description" content="<?php echo htmlspecialchars($description); ?>" />
<meta name="classification" content="example"/>
<title><?php echo htmlspecialchars($this->siteTitle); ?></title>
...
<meta name="classification" content="example"/>
for last
Code
>" Error Line 6, Column 59: Bad value classification for attribute name on element meta: Keyword classification is not registered.
<meta name="classification" content="xxmyclassificationxx"/>
Syntax of metadata name:
A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.
"
Now ı don't know what to do adding extra meta names, could u help me please?



