Optimization Analysis: Sharing dream Building and background optimization settings

Source: Internet
Author: User
Keywords Seo dedecms

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

Dream-based Content management System (DEDECMS) is known for its simplicity, practicality and open source, and is the most well-known PHP open source Web site management system, but also the use of the most users of the PHP-like CMS system. DEDECMS based on PHP+MYSQL technology development, support a variety of server platforms.

Dream-weaving system with its stability, strong, easy-to-use and other features are more and more owners accepted. Have great knowledge to learn SEO, although it is not necessary to write the program, will develop a website, but, SEO if only a third-party blog, of course, you can, just a lot of steps do not operate, there is no way to fully feel the process. Therefore, it is very important to have a website, the domain name and space of the site is easy to solve, but to build a website for novice stationmaster, still have certain difficulty. Note that tidal SEO here is about building a website instead of developing a website. To build a website, you can use some excellent open source system on the Internet to complete. Today, tidal SEO to share dream building and background optimization settings for novice friends.

Download Dream System

The dream system is relatively simple to download. Baidu search for "dream weaving" can find the website of the Dream system. Then select the appropriate version to download. Because the dream system has three versions, one is GBK, one is UTF8, the other is BIG5. GBK is mainly for the Simplified Chinese website, UTF8 is a multilingual version of the site, BIG5 mainly for Traditional Chinese website. Novice General Choice GBK version is enough.

Second, build Dream system

After the installation of the dream system has been downloaded, we can begin to build it. Build dream system, to be divided into two situations, one is the local test, one is uploaded to the Web site space. Because the site has to go through a lot of testing, and at the beginning of our program is not familiar with the site immediately uploaded to the space, once there are problems, modify it is not convenient. Then we need to start to build a local test environment on the computer. Here you need to download a Dedeampz kit from the official Dream website, and then enable it when the installation is complete.

One problem that is often encountered here is that the Apache component of the suite cannot be started. If Apache doesn't start, it won't be tested. So the best to install Dedeampz before the Thunder, anti-virus software will occupy the network software, and then install. If you are still starting without a move, try the following methods.

We can click on the Start menu and click "Run". Enter "cmd" and press OK or hit enter, open the command prompt, enter the command "Netstat-ano" and return. You can see a bunch of IP addresses, we found 0.0.0.0:80 this line. Look at the 80-port corresponding PID is how much, put this PID down. Next we right click on the taskbar, click "Task Manager", and then click "Process" to see what the PID corresponding process, the process to end, and then start Apache, generally can be started. This solution is suitable for most of the computer, if still can not start, that only Dedeampz delete, to Baidu search Phpnow, use this procedure to build the environment can also, general also will not appear what problem, here will no longer elaborate, if the reader needs can directly consult tidal SEO.

Environment after the completion of the construction, we will download the dream of the program's compression package decompression, we can see that there are 3 folders, that upload folder file is our future upload to the server space program files. This assumes that our Dedeampz is installed in D disk, if the entire installation process has not made any changes, then the root directory is D:\DedeAMPZ\WebRoot\Default in this file, create a new Notepad (content arbitrary), Then change the name of the Notepad to index.html (note that it is now a Web page, not a notepad.) ), and then by entering http://localhost/in the address bar, you can normally access the description server to build successfully. If you do not have normal access, there are two common possible problems:

1, you set up the index.html or Notepad. Double-click My Computer, click Folder Options on the Tools menu, click the "View" tab in the pop-up window, and remove the "hide suffix name of known files" check box.

2, your website target path is not like: D:\DedeAMPZ\WebRoot\Default, but contains the Chinese characters. This is to build a file path without Chinese characters, reinstall.

Dedeampz database username: root, Password: 123456. The specific database name has not been established for the time being and needs to be obtained after the following steps. When you install DEDECMS, you are prompted to create a new database. For programs that directly require input to the database, it is now necessary to manually install the dream system.

Here, we are completely done with the environment, and then we are officially starting to install the dream. We copy the Upload folder we just unzipped to the D:\DedeAMPZ\WebRoot\Default and rename upload to Dede. Then open the browser, enter the Http://localhost/dedetest, you will enter the installation of the Dream Program page. You should be aware of: in the database name that column, enter a favorite English name (the default is DEDECMSV57GBK), and in the "Create a new database" Before the selection box tick. This is the creation of a new database. This database, you can use in the future to build other programs, such as: WordPress, etc., so, please record the database name, the default is DEDECMSV57GBK. Then, install it. Remember to log admin and password for login admin backend. After the successful site construction in the Address bar input Http://localhost/dedetest can visit the home page. Our background address is: Http://localhost/dedetest/dede. Okay, here's the Dream management system.

The optimization setting of the dream-weaving system

After a local test for some time, we will be able to master the use of the dream system, then we can buy a domain name and space, officially on the internet has our first website, began our official SEO trip. The optimal setting of dream weaving generally includes the following aspects:

1. Three label settings

We log into the backstage of the Dream system, click "System", and then go to "system basic parameters", under the "Site Settings", we can see "site name" here is the title tag of our website, the title we generally set as "keyword 1_ keyword 2_ keyword 3-site name", Keywords and keywords between the underline separated, because the search engine will be underlined as a space to look at, the keyword and the name of the site we separated by the bar, the title of the site not more than 25 characters. Next we see "site default keywords", here is the location of the keywords set, we can put the keyword to be done here, although said this label has no effect on the rankings, but can facilitate our future work, keyword tags, each keyword with a half-width comma separated. Finally we want to set the "site description", which is the description tag, here we use no more than 75 characters to our site to a simple description. We set up the three labels on the website.

2. Static website settings

You can open pseudo static settings in the admin, but it is a bit high for the host to turn on pseudo static. Of course, can also achieve the static of the whole station, the specific methods of operation here do not repeat, we can find online.

3, Web site URL path optimization

1. The path optimization of homepage URL. After you install the program, you may find that open the first page of its path is such: http://www.123.com/index.html, this path is far from http://www.123.com/path. So how do you get rid of the index.html? The specific method is to put the index.php file in the root directory

<?php
if (!file_exists dirname (__file__). /data/common.inc.php '))
{
Header (' location:install/index.php ');
exit ();
}
//automatically generates HTML version
if (isset ($_get[' Upcache '))
{
require_once (dirname). "/include/common.inc.php");
Require_once Dedeinc. /arc.partview.class.php ";
$GLOBALS [' _arclistenv '] = ' index ';
$row = $dsql->getone ("select * from ' Dede_homepageset '");
$row [' templet '] = Mftemplet ($row [' Templet ']);
$PV = new Partview (); The
$PV->settemplet ($cfg _basedir. $cfg _templets_dir. “/” . $row [' Templet ']);
$PV->savetohtml (dirname (__file__). /index.html ');
Include (DirName (__file__). /index.html ');
exit ();
}
Else
{
Header (' http/1.1 moved Permanently ');
header (' Location:index.html ');
} Replace
?
with
<?php
if (dirname (__file__). /data/common.inc.php '))
{
Header (' location:install/index.php ');
exit ();
}
Require_once (DirName (__file__). "/INclude/common.inc.php ");
Require_once Dedeinc. /arc.partview.class.php ";
$GLOBALS [' _arclistenv '] = ' index ';
$row = $dsql->getone ("select * from ' Dede_homepageset '");
$row [' templet '] = Mftemplet ($row [' Templet ']);
$PV = new Partview (); The
$PV->settemplet ($cfg _basedir. $cfg _templets_dir. “/” . $row [' Templet ']);
$PV->display ();

2. Content page URL path. Change the default path {typedir}/{y}/{m}{d}/{aid}.html to {typedir}/{aid}.html, so that the specification is short.

3. The system core settings in the "(Yes/No) support multi-site, open this post attachment, column connection, arclist content to enable the absolute URL" select "is", so that the start of the absolute address, to prevent the site is mirrored, but also to prevent the spread of the weight of the site.

4, the article tag label settings. Dream of the process of updating the article automatically generated labels is not very good, many are meaningless words, so we suggest that the manual input is better.

5, solve the page page title duplication problem. Title Duplication is SEO optimization of the big bogey, and the DEDECMS program of the column page is emerging such a problem. So the title tag of the section page is modified to {dede:field.title/}_{dede:global.cfg_webname/} ({dede:pagelist listsize= ' 0 ' listitem= ' pageno ') Function= ' Html2text (@me) '/}), displayed as column title _ Site name (page number).

6. Open the Sitemap site map generation function of the dream system.

Such dedecms (weaving dream) The whole station basically completed the SEO optimization processing. Well, about the dream system and background optimization settings to share with you here, this article is a basic article, mainly to the novice friend to see. Hope that novice friends in the study of SEO, no longer to do the site and worry about it. Learned the Dream System (DEDECMS) and basic optimization, so the opponent is a no small progress. This article by the Tide SEO http://www.chaoxiseo.com original, reprint please indicate the source, thank everybody!

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.