First talk about DEDECMS head title, keywords, describe the role of tags
I believe there is a lot of such information on the Internet, so why do I have to write this? Because this is more important for us beginners, because it is necessary to use these tags for SEO.
First I write ere page header tag
I'll write these labels down first so that we can read them conveniently.
<title>{dede:global.cfg_webname/}</title>
<meta name= "description" content= "{dede:global.cfg_description/}"/>
<meta name= "keywords" content= "{dede:global.cfg_keywords/}"/>
Here {dede:global.cfg_webname/} is the meaning of the site name. Hehe, the text shown here is appearing in the Search engine title section. The more important part.
{dede:global.cfg_description/} This is a description tag. Oh, this is appearing in the search engine simple text introduction. is also a more important part.
{dede:global.cfg_keywords/} here is the keyword tag that everyone should know, is the key word we often say.
These tag contents can be set in the background.
Below is the cover channel, the list page, the content Page header label, does not introduce one by one, hoped that the beginner like us can master skillfully.
DEDECMS Website Home Header label:
<title>{dede:global.cfg_webname/}</title>
<meta name= "description" content= "{dede:global.cfg_description/}"/>
<meta name= "keywords" content= "{dede:global.cfg_keywords/}"/>
Dedecms Cover Template Header label:
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name= "keywords" content= "{Dede:field name=keywords/}"/>
<meta name= "description" content= "{Dede:field name=description function=html2text (@me)/}"/>
DEDECMS List page Label:
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name= "keywords" content= "{Dede:field name=keywords/}"/>
<meta name= "description" content= "{Dede:field name=description function=html2text (@me)/}"/>
Dedecms article page Tags:
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name= "keywords" content= "{dede:field.keywords/}"/>
<meta name= "description" content= "{dede:field.description function=html2text (@me)/}"/>
Summary: Dedecms provides a title tag for the first page, theme cover, List page, article page four pages, so that we could optimize the different topics. We beginners only step by step to learn the label, in order to make the site we want.
Original address: http://blog.chinaunix.net/uid-22672540-id-1771540.html
DEDECMS Head tag (title, keywords, description tag) (borrowed)