织梦园模板网提供云优cms模板,pbootcms模板,Wordpress主题模板等各类企业新闻资讯网站模板下载服务。织梦园网站模板交流群
用户名:
密码:
注册
注册后享受折扣价

dedecms:设置keyword和description

织梦园模板 / 2021-07-12 / 收藏
dedecms的首页、栏目和文章模板的<head></head>区域内插入以下这两句代码,然后在发布文章时,只要在关键词和描述里写入你想要的keywords和description即可。
 
栏目和文章同样,这对seo优化有***的帮助,下面是代码,您不妨试一下。
<meta name="keywords" content="{dede:field name='keywords'/}">
<meta name="description" content="{dede:field name='description '/}">

相关织梦教程

收缩