Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of modifying admin.php by discuz

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains the "discuz modify admin.php method", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's train of thought slowly in depth, together to study and learn "discuz modify admin.php method"!

Discuz modify admin.php method: 1, open the root directory, modify the "admin.php" file name "study.php"; 2, modify the "header.htm" file content.

Operating environment of this article: Windows7 system, Discuz X3.2, DELL G3 computer

How does discuz modify admin.php?

The method of modifying background address admin.php and foreground login management URL in Discuz X3.2

Many people think that the background address of discuz is not safe enough and hope to modify it. In fact, under normal circumstances, you only need to modify 2 places. The purpose of this tutorial is to tell you how to modify these two places. If you find that there are other places that need to be modified, please let me know.

Modify 1.

Open the root directory and change the name of the admin.php file to study.php. Then you can log in to the background normally through your domain name / study.php through http://.

Modify 2.

At this time, the front desk login entry has not changed. You need to change the entry address to modify the file template/default/common/header.htm (Note: here default is your style folder) to find:

| | {lang cloudcp} |

Modify to

| | {lang cloudcp} |

Find it again.

| | {lang admincp} |

And then modify it to

| | {lang admincp} |

Then upload the overlay, update the cache in addition: in theory, basic OK, but some plug-ins backstage some file management connection directly wrote admin.php, there will be some problems, general plug-in production using background script address constant instead of admin.php will not have any problem, so you may not be able to find files in the background management function of some plug-ins, that is, 404error.

Thank you for your reading, the above is the content of "the method of discuz modifying admin.php". After the study of this article, I believe you have a deeper understanding of discuz's method of modifying admin.php, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report