演示链接:查看演示

dedecms:设置keyword和description

在dedecms的首页、栏目和文章模板的<head></head>区域内插入以下这两句代码,然后在发布文章时,只要在关键词和描述里写入你想要的keywords和description即可。

 

栏目和文章同样,这对seo优化有一定的帮助,下面是代码,您不妨试一下。

以下为引用的内容:
<meta name="keywords" content="{dede:field name='keywords'/}">
<meta name="description" content="{dede:field name='description '/}">

THE END
喜欢就支持一下吧
点赞0 分享