Description meta tag
Description meta tag
The keywords meta tag is not as important as it used to be and it does not always improve your site's rating. The Description tag however, is much more relevant, so can we have the article description added to a description meta tag by default?
Also, the accepted standard for page titles is Site Name - Page Name, not Site Name | Page Name. Perhaps this could be an option set in the config file?
Also, the accepted standard for page titles is Site Name - Page Name, not Site Name | Page Name. Perhaps this could be an option set in the config file?
Having tried this further, there does seem to be a problem, in that my description meta tag is not being output:
Here's a shot of my article in the backend:

And here's what's ouput on the frontend:
You can see that my keywords are there, but no description.
I am using the latest release on php v4.3.5, so my environment should be fine too, no?
Here's a shot of my article in the backend:

And here's what's ouput on the frontend:
Code: Select all
<head>
<title>My Website | Article title in here</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="key1 key2 key3">
<script src="phpwcms_template/inc_js/frontend.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="phpwcms_template/inc_css/frontend.css">
</head>
I am using the latest release on php v4.3.5, so my environment should be fine too, no?
I've got around this now by making a very minor change to the code. Yuo can see it in the Hacks and Mods forum at http://phpwcms.de/forum/viewtopic.php?p=18214
Re: Description meta tag
Hi.jamba wrote:The keywords meta tag is not as important as it used to be and it does not always improve your site's rating. The Description tag however, is much more relevant, so can we have the article description added to a description meta tag by default?
Also, the accepted standard for page titles is Site Name - Page Name, not Site Name | Page Name. Perhaps this could be an option set in the config file?
I want to change the same thing, this "Site Name | Page Name" to "Site Name - Page Name" where can I change this ?
Re: Description meta tag
helloJari wrote:Hi.jamba wrote:The keywords meta tag is not as important as it used to be and it does not always improve your site's rating. The Description tag however, is much more relevant, so can we have the article description added to a description meta tag by default?
Also, the accepted standard for page titles is Site Name - Page Name, not Site Name | Page Name. Perhaps this could be an option set in the config file?
I want to change the same thing, this "Site Name | Page Name" to "Site Name - Page Name" where can I change this ?
goto the layout section!
there you can set it up! what should be shown and not! and you can choose there the sitename. it's is in the first half of the layout setting page in admin menue.
Hi, Jari.
You need to open include/inc_front/content.article.inc.php and search for the following code block:
Just replace the "|" characters with the character of your choice ("-" is the convention) 
You need to open include/inc_front/content.article.inc.php and search for the following code block:
Code: Select all
if($row["acat_name"] && $pagelayout["layout_title_cat"]) {
if($content["pagetitle"]) $content["pagetitle"] .= " | ";
$content["pagetitle"] .= $row["acat_name"];
}
if($row["article_title"] && $pagelayout["layout_title_article"]) {
if($content["pagetitle"]) $content["pagetitle"] .= " | ";
$content["pagetitle"] .= $row["article_title"];
}
