Advertisement:

how to edit meta tags in index.templete.php

Aloittaja infoseeker, syyskuu 15, 2011, 11:00:18 IP

« edellinen - seuraava »

infoseeker

how can i edit meta tags in index.templete.php. The default meta tag script is:


<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
   <meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '
   <meta name="keywords" content="' . $context['meta_keywords'] . '" />' : '', '
   <title>', $context['page_title_html_safe'], '</title>';


I want replace the above meta tags with below meta script.


<META NAME="description" CONTENT="here you can share anything about smart phones. you can download or upload applications and games for all mobile operating systems. share latest news about smart phones, learn tips and tricks.">
<META NAME="keywords" CONTENT="download, applications, games, java, symbian, android, maemo, meego, windows_phone, iphone, tips, tricks, motorola, nokia, samsung, sonyericsson, lg, htc, iphone, smartphonearenaapplications, games, java, symbian, android, maemo, meego, windows_phone, iphone, tips, tricks, motorola, nokia, samsung, sonyericsson, lg, htc, iphone, smartphonearena">
<META NAME="robot" CONTENT="index,follow">
<META NAME="author" CONTENT="tenny">
<META NAME="language" CONTENT="english">
<META NAME="revisit-after" CONTENT="1">


How can i replace the above meta meta script with default meta tags/script of index.temple.php without missing the page titles.

mashby

My gut reaction is to say go ahead and just replace what you have with what you mentioned. With this exception:
<title>', $context['page_title_html_safe'], '</title>
<META NAME="description" CONTENT="here you can share anything about smart phones. you can download or upload applications and games for all mobile operating systems. share latest news about smart phones, learn tips and tricks.">
<META NAME="keywords" CONTENT="download, applications, games, java, symbian, android, maemo, meego, windows_phone, iphone, tips, tricks, motorola, nokia, samsung, sonyericsson, lg, htc, iphone, smartphonearenaapplications, games, java, symbian, android, maemo, meego, windows_phone, iphone, tips, tricks, motorola, nokia, samsung, sonyericsson, lg, htc, iphone, smartphonearena">
<META NAME="robot" CONTENT="index,follow">
<META NAME="author" CONTENT="tenny">
<META NAME="language" CONTENT="english">
<META NAME="revisit-after" CONTENT="1">
Always be a little kinder than necessary.
- James M. Barrie

infoseeker

Lainaus käyttäjältä: mashby - syyskuu 15, 2011, 11:05:39 IP
My gut reaction is to say go ahead and just replace what you have with what you mentioned. With this exception:
<title>', $context['page_title_html_safe'], '</title>
<META NAME="description" CONTENT="here you can share anything about smart phones. you can download or upload applications and games for all mobile operating systems. share latest news about smart phones, learn tips and tricks.">
<META NAME="keywords" CONTENT="download, applications, games, java, symbian, android, maemo, meego, windows_phone, iphone, tips, tricks, motorola, nokia, samsung, sonyericsson, lg, htc, iphone, smartphonearenaapplications, games, java, symbian, android, maemo, meego, windows_phone, iphone, tips, tricks, motorola, nokia, samsung, sonyericsson, lg, htc, iphone, smartphonearena">
<META NAME="robot" CONTENT="index,follow">
<META NAME="author" CONTENT="tenny">
<META NAME="language" CONTENT="english">
<META NAME="revisit-after" CONTENT="1">


Thanks a lot bro'
Now my problem solved.

GOD BLESS YOU

Advertisement: