كيفية اعداد السيو لصفحات whmcs

loverman

عضو جديد
11 مايو 2012
13
0
0
35
www.misr-online.net
السلام عليكم ورحمة الله وبركاتة
تعبت وانا ادور على اعداد الصفحات سكربت whmcs لمحركات البحث
وقمت بتركيب اضافة SEO Manager لكن ما ظبت معايا
فانا اريد عمل سيو خاص بكل صفحة مثلا صفحة الاستضافة host.php وصفحة التصميم design.php
اريد عمل title ,keywords,descraption لكل صفحة كيف يتم اضافتها فى الصفحة


مثال على احد الصفحات

PHP:
<?php

define("CLIENTAREA",true);
//define("FORCESSL",true); # Uncomment to force the page to use https://

require("dbconnect.php");
require("includes/functions.php");
require("includes/clientareafunctions.php");

$pagetitle = $_LANG['hostingplans'];
$breadcrumbnav = '<a href="index.php">'.$_LANG['globalsystemname'].'</a>';
$breadcrumbnav .= ' > <a href="hosting.php">خطط السيرفرات</a>'; 

initialiseClientArea($pagetitle,'',$breadcrumbnav);

# To assign variables to the template system use the following syntax.
# These can then be referenced using {$variablename} in the template.

$smartyvalues["variablename"] = $value; 

# Check login status
if ($_SESSION['uid']) {

  # User is logged in - put any code you like here

  # Here's an example to get the currently logged in clients first name

  $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".(int)$_SESSION['uid']);
  $data = mysql_fetch_array($result);
  $clientname = $data[0];
  $smartyvalues["clientname"] = $clientname;

} else {

  # User is not logged in

}

# Define the template filename to be used without the .tpl extension

$templatefile = "chat"; 

outputClientArea($templatefile);

?>