Zblog PHP Version How to modify the background default login address

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Zblog is a very powerful blog site system, has always been an ASP version, recently out of the PHP version, for like to use PHP program to build station webmaster is indeed a gospel. I just like using PHP language, when Zblog only ASP version, I have been using WordPress, until the Zblog version of PHP released, I went to the PHP version of the Zblog.

If it is an ASP version of the Zblog system, its default background login address is the login.asp,php version is login.php, and its management directory is zb_system/admin, those who know more about the site will know, So if you don't modify the default background address, you will always feel insecure. For this reason, I have been trying to change the default background address, search the Internet, there are many ASP version of the modification method, there are some changes in PHP version, but has not worked. Finally, I groped for it, I did it, and here's the main step (my blog is z-blogphp 1.2 Hippo build 140220, I don't know if any of the other versions are slightly different):

First, modify the login.php under Zb_system for the background address you want to name (here take yyy.php for example), and then open it with a text editor zb_ System under the cmd.php file, find login.php replaced by yyy.php, there should be a place where login.php can be replaced. Then rename the Admin folder in the Zb_system directory, rename the background address you want to set (here, for example, named Guanli), and then open cmd.php with a text editor, find admin/(note that there is a/) Replace guanli/(note that there is a/), There should be 20 places. Then enter the Guanli folder (the original Admin folder), open admin_top.php, category_edit.php, edit.php, index.php, member_edit.php, Module_, respectively. edit.php, tag_edit.php file, find zb_system/admin/Replace with zb_system/guanli/. After this operation, in fact, the background address has been modified successfully, the next time you can go directly to the yyy.php login background, and the background folder is not admin, but Guanli.

It is important to note that the Zblog system installed the "Application Center" plug-in by default, as modified by the above method, when in the background into the "Application Center", will prompt/zb_users/plugin/appcentre/ main.php file error, this time with a text editor to open the main.php file, and then find zb_system/admin/replace zb_system/guanli/, so that can solve the problem. If you still have a problem with the type after you install the plugin, you will still be able to do so. Here's the version of z-blogphp 1.2 Hippo build 140220, for example, if a later version changes, just try to modify the files in the cmd.php, login.php, and admin directories (if you don't remember which ones to change, Each file can be opened for lookup) and can generally be resolved.

Original address: http://www.yedward.net/?id=3, reprint please indicate the source.

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.