Counting dream weaving station encountered some problems

Source: Internet
Author: User
Tags aliyun change code default environment file hosting how to

Intermediary trading http://www.aliyun.com/zixun/aggregation/6858.html"> SEO diagnostic Taobao customer hosting technology hall

Many webmasters like to use dream weaving system to do the site, but because the default template is too simple, more people will choose to change a set of more mature website templates, how others look good template imitation down into myself This requires a certain degree of research Imitation Dream Station. Here I follow the process of imitation of some of the difficulties encountered in the process, to give you an inventory of some of the problems encountered in the process Imitation Station and solutions.

First, the local environment to build

Usually before the site is on the line, is to take local debugging, which need to build a local PHP and MySQL environment. There are many online software in this area, such as the dream weaving the official DedeAMPZ-PHP environment package, the author is using NPMserv, the most prone to error is the path appears Chinese characters and 80-port occupancy. When saving the environment of Chinese characters appear in the folder, and some software does not work, it is best to change to English characters. When port 80 is occupied, you need to change the port to another port to run the software normally.

Second, the choice of website coding

There are two main weaving dream version, GBK version and UTF8 version, corresponding to the gb2312 encoding and utf-8 encoding, if you choose a code, then the template file must correspond to these codes, otherwise there will be garbled A lot of people on this occasion are often overlooked.

Third, the file path changes

In the imitation of the station, the target site will be JS, CSS, pictures, page source files are copied over, many people in the file path will be some error, which requires a friend of the owners of the path of this one more proficient. For example, I usually create a separate file to save JS, CSS and pictures, templates placed in a separate file, this can increase the security of the site, others will be very difficult to guess your template path. At the same time, the path in the template source file should be changed to the path where you place the files. In most cases, the image path encountered in the CSS file also needs to be modified.

Fourth, column title setting

Imitation of the station when most webmasters pay more attention to the code changes, often overlooked a detail, that is, part of the keyword settings. If you simply call the title of a section page with {dede: field.seotitle /}, the title of each page will be repeated when there are many pages in that section, which is bad for optimization. So we should pay attention to this point in the imitation of the station, only need to add a short piece of code, the use of pagelist tags, so that the title of each page in the title with the "page 1" "page 2" such identification can.

Five, weaving dream label familiarity

Familiarity with Dreamweaver labels can be very helpful to the efficiency and accuracy of imitation stations because many of the tags use differently on different pages. For example, the home page title, section page title, article title page label is not the same, only by familiar with the use of each label in order to avoid errors in the imitation process.

The above is the author encountered some problems in the imitation process, I hope I want to learn from imitation imitation station friends can have some help, in fact, no matter what the station, as long as their own basic knowledge, then there is no difficulty, or even You can modify the target template based on the second. I suggest that before learning imitation station best to be familiar with html, div + css, dede common label these three aspects, as the saying goes "basic decision superstructure", weaving dream imitation station is also true. This article from the common sense of health http://health.ahbbz.com/ Original web site A5 originals, respect for the work of others is to respect themselves, please indicate this link, thank you for your cooperation!

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.