The experience of Dedecms custom attribute research

Source: Internet
Author: User
Keywords DEDECMS NBSP search engine crawl

&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Now, many articles of the site are in the use of DEDECMS procedures, in addition to a small number of technical webmaster to get DEDECMS program to do a larger adjustment, more stationmaster is the use of Dedecms default layout, and this is not conducive to search engine page crawling and visitors to facilitate access. It is so, eight-degree Webmaster Network Editor for you to list the use of DEDECMS procedures need to modify the most basic 5, I hope that the novice webmaster has a little help.

1, the importance of highlighting the title

A lot of dedecms do with the station to retain the back-powered by Dedecms ", in fact, can be removed, the title moderately modified, more can highlight the importance of the title." and Dedecms's copyright connection, completely can put to the bottom of the page.

2, to ensure the shortest possible URL path

Many friends use DEDECMS to do the station, the content of a large class placed in a unified folder, and then, the main categories and small classes, which directly led to the introduction of the article page is buried too deep, the page path is too long, not conducive to search engine crawling. It is recommended that large categories be placed directly under the root directory.

3, adjust the position of "current position"

Dedecms The default article introduction page, the current location is right-aligned. It is recommended that the left side of the line, one looks more beautiful, but more conducive to the operation of visitors.

4, prevent search engine crawl comments page

Dedecms's robots.txt is well written, and everything that should be shielded is shielded. However, in order to avoid a lot of publicity links or bad comments page was crawled by search engines, it is recommended to use robots.txt to prevent search engines crawl comments page, add a line to the following code.
Disallow:/plus/feedback.php

5, adjust the background color of the navigation bar

Dedecms the default navigation bar background color is gray-black, looks very soft, but lacks enough visual impact, suggest to replace with bright background, so that it can greatly improve the impression of visitors to the site.

Because our Cloud eye Entertainment (www.nvdchina.com) in the original design of the negligence, resulting in different flash size, and if you want to publish to the first slide, it will be displayed in the relevant level two page on the Flash slide. Because the size of different sizes, will cause the picture size is stretched or compressed, so it looks very ugly. So, these two days we studied the custom attributes of the next dedecms.

To add custom attributes, you need to install phpMyAdmin first. The installation process is not the focus of this article, so omit.

First enter the phpMyAdmin, locate the dede_archives structure, and then change its length/value *1. Then click to see the Flag field, as shown in figure:

Then follow the default few fields and add the characters you want. Like the original

' C ', ' H ', ' P ', ' f ', ' s ', ' j ', ' A ', ' B '

After adding, it becomes ' C ', ' H ', ' P ', ' f ', ' s ', ' j ', ' A ', ' B ', ' Z ', ' l ', ' e ', ' Y '

Next, find the structure of the Dede_arcatt and click "Add"

As shown in figure, 9 of SortID is the number of the English words you add

OK, so it's done, look at the final effect:

Thank Cloud Eye Ued team contributions

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.