Zblog optimization method for new reference

Source: Internet
Author: User
Keywords Nbsp; blog articles so

Z-blog is an open, efficient, robust, practical and beautiful blog publishing program based on ASP platform. Has the following excellent features: the generation of static files, fully compliant with Web page standards, highly configurable templates, display logic and operational logic complete separation, WAP browsing/commenting/publishing/http://www.aliyun.com/zixun/aggregation/17569.html "> Management functions, Supporting Third-party WYSIWYG (WYSIWYG) editor, TAGs, better classify your article, you can define static file name, atom format XML database backup, automatic replacement of the keyword in the article for preset links, unified permissions control, in-site Full-text search.

Beginners SEO and build stations, a rough study of several blogs and CMS procedures, relatively new, ASP program comparison Php+mysql easier to get started, for personal sites and small sites, based on ASP programming Zblog in Performance and SEO has been able to say is quite a good program, SEO New people here to introduce their own Zblog optimization methods for the new reference.

Many domestic bo are built with Zblog, such as Moonlight Blog, Tong Blog and so on, Zblog SEO has done very well, zblog the whole station static for search engines have a good degree of friendliness, and enhance the load capacity of the blog, is very powerful blog program, But Zblog is more depressed is not a custom mate tag, we need to manually modify the code to add.

There are a total of 3 files that need to be modified, taking the default template as an example, under the Templates folder template folder (... Themes/default/template), locate default.html files, catalog.html files, and single.html files.

default.html Homepage template, you need to modify just add meta tags.

Catalog.html to control the page page, category pages and tags tags template, you need to modify the add meta and modify the title. The title originally is <title>< #ZC_BLOG_TITLE #>< #ZC_MSG044 #>< #BlogTitle #></title>, meaning the website title-category heading, revised to <title>< #BlogTitle #>< #ZC_MSG044 #>< #ZC_BLOG_TITLE #> </title> So the title becomes the category heading-the site title, More suitable for SEO.

Single.html for the article page template, you need to add meta tags and modify headings. Title Modify reference catalog.html modification method, or use the title SEO plug-in zblog, Plug-ins can change the title to the article name-category name-site name, meta modification is better and popular method is as follows:

<meta name= "keywords" content= "< #article/tagtoname#>"/>

<meta name= "description" content= "< #article/intro#>"/>

Keywords uses the article's tag,description to use the article summary, but this has the question, Zblog database < #article/intro#> is the article summary is the HTML code, This is not very reasonable as a description, if the summary appears in the picture and video or Flash, it will be very troublesome, so I came up with a way to write is written.

<meta name= "description" Content= < #BlogTitle #> is an article about < #article #> in this site (< #ZC_BLOG_TITLE/tagtoname#) > Articles, you are welcome to read and comment on "/>."

This write will not be wrong, but also more appropriate SEO, the disadvantage is the whole station description is a bit monotonous, I hope zblog can improve and add custom meta tags in the future function, or we have what better solution hope to share out common progress.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.