• Join the best UK dedicated SEO Forum

    Provide or get advice on everything SEO, ask questions, gain confirmation or just become apart of a friendly, like minded community who love SEO and Online Marketing.


    Join 50,000 members!

SEO - some problem with the code or configuration...

A

Anne999

New Member
Hello, could you please detect a problem withing a code ? When I do online SEO audit of the website, there is a message that there is no meta description and no titles :oops:

Thank you in advance for your suggestions.


Here is a small extract of header.php :

<title><?php echo $pageTitle; ?></title>
<meta type="description" content="<?php echo $pageDescription; ?>"/>
<meta type="keywords" content="<?php echo $pageKeywords; ?>"/>
...


and config.php - there are unique meta descriptions and title for every page :

<?php
$is_home = false;
$is_coursdedessin = false;
$is_coursdetechnique = false;
$is_coaching = false;
$is_articles = false;
$is_galerie = false;
$is_nouscontacter = false;
$is_mail = false;

$body_class = 'page';
$title = ''; //page title optional
$keywords = ''; //page keywords optional
$description = ''; //page description optional

/* "Home page" settings */
if($_SERVER['REQUEST_URI'] == '/' || $_SERVER['REQUEST_URI'] == '/index.php' || $_SERVER['REQUEST_URI'] == '/index'){
$is_home = true;
$body_class = 'home-page';
$title = 'Cours de dessin | Professeur diplômé | Lyon';
$keywords = 'cours de dessin lyon, cours de dessin débutant, lyon';
$description = 'Cours de dessin à Lyon avec le professeur diplômé d'Etat. Cours individuels et collectifs pour tous niveaux et tous les âges.';
}

...
 
Business SEO Services Business SEO Services

Latest Products

  • [Rivmedia] Lazy Loader XF2
    [Rivmedia] Lazy Loader XF2
    Load images asynchronously on your forum, allowing images to be loaded only when they are in view
    • Rivmedia
    • Updated:
  • [Rivmedia] Guest Redirect & Profile unlink
    [Rivmedia] Guest Redirect & Profile unlink
    Forums which prevent member profile access for guests, redirction and unlinking for profiles
    • Rivmedia
    • Updated:
  • [Rivmedia] Simple Redirects
    [Rivmedia] Simple Redirects
    Simple redirects allows forum admins to make simple 301 or 302 redirects via their admin panel
    • Rivmedia
    • Updated:
  • [Rivmedia] Minimum Message Length
    [Rivmedia] Minimum Message Length
    Eradicate short, pointless posts with a minimum message length and improving content worth on a thre
    • Rivmedia
    • Updated:
Top