Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Everyone webmaster friends good. Today, I send an article to tell you a dedecms to do the skills of the station. Believe that most of the webmaster like me is a grassroots webmaster, no money to buy their own independent server, are rented some servers on the virtual host, some of the better will and other owners to rent a server. My article is about a dedecms like our 7474.html "> grassroots webmaster Using a virtual host."
Everyone in the use of DEDECMS is not aware of such a phenomenon, the site after doing a good job in the browser input your website address, such as http://www.aaa.com/, when the site opened after the address of your browser will become http://www.aaa.com/index.html this address. What's the reason?
We all know the default home page, like index.html,index.php, Index.asp These files are commonly used by the site's default home page, we look at your dedecms program root directory index.php and index.html of these 2 files, we look at the index.php part of the code:
{
Header (' http/1.1 moved Permanently ');
Header (' Location:index.html ');
}
The meaning of this code is to jump to index.html this page.
Solution: We only need in their own virtual host background default home settings in the file index.html placed in front of the index.php can solve the jump problem. As set in this diagram:
This article is just a little bit of skill I'm doing in the station, please don't shoot bricks. Thank you. In addition to our hometown PEI Meat Duck Breeding More, I did a meat duck net http://www.rouya.cc/hope and have agricultural station friends exchange a friendship link, my qq:147478584 everybody to see how appropriate words contact.