Modérateur: Modérateurs

//if( ($result = $db->sql_query($sql, false, 'META_')) ) {
if ( $meta_row = $db->sql_fetchrow($result) ) {
$keywords = $board_config['sitename'] . ', ' . $meta_row['cat_title'] . ', FEW_MORE_KEYWORDS_COMA_SEPARATED';
$description = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'];
}
//here we clear $result from ram and cache it
$db->sql_freeresult($result);
//End sql cache opt
}
} else {
$description .= 'YOUR_DEFAUT_DESCRITPION';
$keywords = 'YOUR_DEFAULT_KEYWORDS_COMA_SEPARATED';
}
//if( ($result = $db->sql_query($sql, false, 'META_')) ) {
if ( $meta_row = $db->sql_fetchrow($result) ) {
$keywords = $board_config['sitename'] . ', ' . $meta_row['cat_title'] . ', nature, ecologie, jardinage, animaux, poissons';
$description = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'];
}
//here we clear $result from ram and cache it
$db->sql_freeresult($result);
//End sql cache opt
}
} else {
$description .= 'Les animaux de compagnie:chat,chien,poisson,oiseau......etc..';
$keywords = 'nature, ecologie, jardinage, animaux, poissons,photographies,livres,peintures';
}

jcg11290 a écrit:Bonsoir,
Tu as du oublier de remplir cette partie dans "includes/page_header.php" ..//if( ($result = $db->sql_query($sql, false, 'META_')) ) {
if ( $meta_row = $db->sql_fetchrow($result) ) {
$keywords = $board_config['sitename'] . ', ' . $meta_row['cat_title'] . ', FEW_MORE_KEYWORDS_COMA_SEPARATED';
$description = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'];
}
//here we clear $result from ram and cache it
$db->sql_freeresult($result);
//End sql cache opt
}
} else {
$description .= 'YOUR_DEFAUT_DESCRITPION';
$keywords = 'YOUR_DEFAULT_KEYWORDS_COMA_SEPARATED';
}

<meta name="keywords" content="forum informatique,conseils informatique,securité informatique,logiciel,p2p,telephone portable,systeme-exploitation,astuces-pc,virus,antivirus,GPS,palm,pocket PC,wifi," />
<meta name="description" lang="fr" content="Forum informatique- Forum informatique aide en ligne et conseils informatique-Aide et dépannage informatique-Optimisation matériel informatique" />


$keywords = [b]$board_config['sitename'][/b]



econologie a écrit:Petite remarque, est-il judicieux de laisser ceci:
- Code: Tout sélectionner
$keywords = [b]$board_config['sitename'][/b]

dcz a écrit:
- Code: Tout sélectionner
$keywords = [b]$board_config['sitename'][/b]


//SQL CACHE
if( ($result = $db->sql_query($sql)) ) {
//if( ($result = $db->sql_query($sql, false, 'META_')) ) {
if ( $meta_row = $db->sql_fetchrow($result) ) {//SQL CACHE
if( ($result = $db->sql_query($sql)) ) {
if( ($result = $db->sql_query($sql, false, 'META_')) ) {
if ( $meta_row = $db->sql_fetchrow($result) ) {//SQL CACHE
if( ($result = $db->sql_query($sql, false, 'META_')) ) {
if ( $meta_row = $db->sql_fetchrow($result) ) {//SQL CACHE
if( ($result = $db->sql_query($sql)) ) {
if( ($result = $db->sql_query($sql, false, 'META_')) ) {
//if ( $meta_row = $db->sql_fetchrow($result) ) {

Retourner vers MODS phpBB2 SEO
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 3 invités