2010/08/22 CE-CUBE METAタグ変更!!

2010/08/22 CE-CUBE METAタグ変更!!

SEO対策をしたかったので、METAタグを加工しました
基本は
基本情報管理→SEO管理の情報に入れます
ただ、それだけではすべてのページで同じ情報になってしまいます
商品一覧ページ 及び 商品詳細ページ は同じになってしまいます
商品一覧にはカテゴリー名などを追加
商品詳細には商品名などを追加

/data/Smarty/templates/default/site_frame.tpl
<title><!--{$arrSiteInfo.shop_name|escape}-->/
<!--{$tpl_title|escape}--></title>
<meta name="author" content="
<!--{$arrPageLayout.author|escape}-->" />
<meta name="description" content="
<!--{$arrPageLayout.description|escape}-->,
<!--{$arrProduct.name|escape}-->,
<!--{$arrProduct.price02_min|sfPreTax:
$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->円,
<!--{$tpl_subtitle}-->" />
<meta name="keywords" content="
<!--{$arrPageLayout.keyword|escape}-->
<!--{$arrProduct.comment3}-->,
<!--{$tpl_subtitle}-->" />

基本情報管理→SEO管理の情報


<!--{$arrSiteInfo.shop_name|escape}-->
<!--{$arrPageLayout.author|escape}-->
<!--{$arrPageLayout.description|escape}-->
<!--{$arrPageLayout.keyword|escape}-->

動的ページのままですので静的ページにしないと役に立たないような気もしますが一応してみました
あはは

サンプル
http://makun.org/products/detail.php?product_id=5

ソースは

<title>まぁくんの店 ウェブショップ/
商品詳細 本柘認印(10.5ミリ)</title>
<meta name="author" content="まぁくんの店" />
<meta name="description" content="商品詳細ページ_,
本柘認印(10.5ミリ),1,980円,印鑑(はんこ) 個人" />
<meta name="keywords" content="商品,詳細,ページ,
四条畷,四條畷,大阪,はんこ,印章,印鑑,本柘,認印,三文判,既
製品,別製品,即日,10.5ミリ,印鑑(はんこ) 個人" />です

SEO管理の情報は
TOPページ index.php
メタタグ:Author まぁくんの店 (上限50文字)
メタタグ:Description トップページ (上限50文字)
メタタグ:Keywords 印鑑,はんこ,印章,名刺,カラフル,四条畷,四條畷,大阪,オリジナル,印刷,伝票,封筒 (上限50文字)

商品一覧ページ products/list.php
メタタグ:Author まぁくんの店 (上限50文字)
メタタグ:Description 商品一覧ページ_ (上限50文字)
メタタグ:Keywords 商品,一覧,ページ,四条畷,四條畷,大阪, (上限50文字)

商品詳細ページ products/detail.php
メタタグ:Author まぁくんの店 (上限50文字)
メタタグ:Description 商品詳細ページ_ (上限50文字)
メタタグ:Keywords 商品,詳細,ページ,四条畷,四條畷,大阪, (上限50文字)

まぁくんの店のアカウントをフォローする

下記はまぁくんの店の情報です
記す
大阪府 四條畷市 まぁくんの店(印鑑・名刺・印刷 ホームページ作成 SEO対策)

茶道日記

ipad&Wordpress