添加CANONICAL域名

ct-mobile-first
ycc 6 years ago
parent b678ab0e6c
commit 3185e22a0a

@ -566,7 +566,7 @@ class Information extends CI_Controller
$mobile_template=str_replace('<!--@TITLE@-->', $this->input->post('ic_seo_title'), $mobile_template);
$mobile_template=str_replace('<!--@DESCRIPTION@-->', $this->input->post('ic_seo_description'), $mobile_template);
$mobile_template=str_replace('<!--@KEYWORDS@-->', $this->input->post('ic_seo_keywords'), $mobile_template);
$mobile_template=str_replace('<!--@CANONICAL@-->', $this->input->post('ic_url'), $mobile_template);
$mobile_template=str_replace('<!--@CANONICAL@-->', $this->input->post('site_url').$this->input->post('ic_url'), $mobile_template);
$mobile_template=str_replace('<!--@CUSTOM-CONENT@-->', $this->input->post('ic_content'), $mobile_template);
// /travelguide/chinese-zodiac/monthly-fortune-for-dog.htm
$mobile_html=$this->config->item('cache')[$this->config->item('site_code')]['cache_path'].$this->input->post('ic_url');

Loading…
Cancel
Save