Meta description shows empty in source

Discussion in 'Search Engine Optimization' started by mark_s, Apr 14, 2007.

  1. #1
    I have my meta description and keywords tags filled like this in my code:

    <meta name="description" content="The largest fanbase for British tennis star Andy Murray." />
    <meta name="keywords" content="murray, andy, tennis, news, murraysworld, british, scottish, website" />

    Yet my browser and source viewing websites recognise it as not being set, it sees it as:

    <meta name="description" content="" />
    <meta name="keywords" content="" />

    This is my website

    Does anyone know why it is happening?

    <?php
    require_once('talk/SSI.php');
    $_GET['action'] = 'mw_main';
    writeLog(true);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    
    <!-- Header --><head>
    <title><? echo $title ?> - MurraysWorld.com</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="description" content="The largest fanbase for British tennis star Andy Murray." /> 
    <meta name="keywords" content="murray, andy, tennis, news, murraysworld, british, scottish, website" />
    <meta name="robots" content="noodp" />
    <link media="all" href="/mw.css?5" type="text/css" rel="stylesheet" />
    <!--[if lt IE 7]> <link media="all" href="/mw_ie.css" type="text/css" rel="stylesheet" />  <![endif]-->
    <link rel="shortcut icon" href="/favicon.ico" />
    <link rel="alternate" type="application/rss+xml" href="/messageboard/index.php?type=rss2;action=.xml;sa=news;board=12;limit=10" title="MurraysWorld: Latest News RSS" />
    <script language="JavaScript1.2">
    <!--
    function refresh()
    {
        window.location.reload( false );
    }
    //-->
    </script>
    </head>
    <!-- /Header -->
    Code (markup):
     
    mark_s, Apr 14, 2007 IP
  2. mark_s

    mark_s Peon

    Messages:
    497
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I've solved the problem now... can a mod delete this thread please.

    I don't see any delete feature :/
     
    mark_s, Apr 14, 2007 IP
  3. vk_lisbon

    vk_lisbon Peon

    Messages:
    296
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I try to solve it. If I do it. I tell you.
     
    vk_lisbon, Apr 14, 2007 IP