How do i make SEO settings for the title of Phpcms V9?
Before my friend asked me that CMS good, I introduced the Phpcms v9, really simple and powerful, station station are very easy!
Recently, a friend asked a question, said the title of the homepage can be controlled, but the column page, the title of the content page is very long, the user experience is not good, and then studied a bit, in fact, really simple, understand a bit of logical thinking we can understand.
Case: After setting up, each page title of the start site is displayed as follows
Home title: PHP Chinese web-Funny rigorous comedy-php.cn-This is a magical website!
Column title: Natural Wonders-animal world-nature pictures-underwater world-nature-fun nature-php Chinese-fun and rigorous funny-php.cn-This is a magical website!
Article title: A Husky's angry monologue, husky endure enough! Curious Nature-PHP Chinese-funny rigorous comedy-php.cn-This is a magical website!
================================
Although in the background "Site Settings", "SEO Configuration" can be set home page title display as "PHP Chinese network-Funny rigorous comedy-php.cn-This is a magical website!" ” 。
But in this case, the column headings will follow the changes, that is, the display as "Funny Nature-PHP Chinese network-Fun and rigorous comedy-php.cn-This is a magical website!" "
Successively, the title of the article will also be shown as "a husky's angry monologue, husky endure enough!" Curious Nature-PHP Chinese-funny rigorous comedy-php.cn-This is a magical website! "
If this is the case, the title is too long. And then my friend is going to change to the following format.
Home title: PHP Chinese web-Funny rigorous comedy-qqzw-This is a magical website!
Column title: Natural Wonders-animal world-nature pictures-underwater world-nature-funny nature-PHP Chinese web
Article title: A Husky's angry monologue, husky endure enough!
Modify template file header.html change to
The header of the content page to create a new template, header_content.html, copy the header.html code, change to
Modify the first line of the show.html template, {Template "content", "header"} to {Template "content", "header_content"}.
Done, update ere page, column page, content page.
Above is how to the title of Phpcms V9 SEO set content, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!
Related articles:
Phpcms V9 Add level two navigation ideas
Phpcms V9 two times development and use of various problem solving solutions
Phpcms V9 two times how to develop custom paging functions