The document store layout of the website construction of the industry

Source: Internet
Author: User
Tags date unique id

A few days ago, I wrote an article "industry website construction Keyword Layout", in A5 was Top 8 times, stepped 5 times, in Seowhy was recommended 7 times. In general, it is more gratifying. After all, it is a practical experience written in mind. It is true to promote your website, but also to share skills. Today, I will share with you the layout of the construction document of the industry website.

When it comes to file storage, a lot of it is not technically possible to understand. Frankly speaking, is the website how to store pictures, the generated static page how to store, shop static page how layout and so on. Here is a look at the layout of the image storage.

Inexperienced technicians always put the entire picture of the industry's web site under a single folder. After doing this, when we reach a certain number of pictures, we have to open or copy the entire picture folder will be very difficult. I used to experience an industry site that is open that folder has spent 3 hours, because the picture folder has 30W pictures, reached 50 g of data volume. Therefore, it is necessary to store pictures in different folders. First, according to the type of image classification, such as business license to license such a folder, product pictures into productpic Such folders, trademarks placed in trademark such folders. After such a good score, it's not over yet. Because the industry website, the picture of the product is the most, the business license and trademark out, far can not solve the folder too big problem. This time, the person is in the East OU pump valve NET www.dopv.cn is doing so. That is, in the Product Picture folder Productpic and then by date to generate different folders. For example, uploaded today to 20120402, upload tomorrow to save to 20120403, after doing so, every day even thousands, tens of thousands of product pictures, with a separate folder storage is not a problem.

Say the way the picture is stored, the following is the static page generated by the storage. Static page is conducive to optimization this is the consensus of the industry, however, the amount of data on the site is not large, said small, to create a static page is still required to point technical content. Here is an example of how to store news information for an industry website. The reason is also very simple, that is, as mentioned above the picture storage, with a folder, by date to generate different folders to store. At this point, the individual is also observed after the path of the A5 article to use this. The problem here is that we're going to give this information a field in the database that adds time, and that time is never changed. When this information is modified or updated, it changes another time Date field. By doing this, you can guarantee that the information will be available in that date folder each time it is generated. To ensure that the search engine index when the file is not lost.

Finally is the store file storage, of course, if your industry website shop is dynamic please drift over. Industry website Shop Most need to do well is to optimize the company name. Therefore, also have the need to generate static pages. How to store these files at this time is a headache. Many industry sites use the two-level domain name way, that way the individual is not recommended for everyone to use. Because it is a false level two domain name, it is necessary to jump to complete the shop page to the direction of. Optimization to teach you to build a subdirectory blog or forum to promote the main domain name, then shop or store in the main directory is better. The path of the store is the path of our preferred domain. The author of the East OU pump valve network is to do so, that is to build a shop folder, according to each Enterprise member registered unique ID to generate a folder, this folder is stored in all the static page file of this enterprise. After doing so, it is very good to solve the store generated static page storage problems. If you do not understand the place, you can go to the East OU pump valve network to see the path of business shops will understand.

Well, the article is written here, perhaps the text description of the technical aspects of a bit is not very clear. This article is useful for people who have a bit of technical basis. If you want to know can go to my work site contrast view. Thank you! Article source Dong ou pump valve Network http://www.dopv.cn/hot/huanxiangfa.html reproduced please keep the copyright link.



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.