THINKPHP
Enter http://localhost/index to directly enter the website backend. How to change /index to another entry?
How to modify the backend login address, which is now the default For example: http://www.baidu.com/index
will directly enter the background. How can I change the index to something else and enter the background? Modify it?
1. Find the index directory of the module you access in the background and change it to xx (the directory you want)
2. Jump through the routing configuration of tp
3. Redirect ( But the url is still the same)
You can enter indenx.php without writing it, but for others, you need to write the directory name, ×××/××x can be entered, and there are corresponding files in the corresponding directories. Which directory depends on the virtual directory you configured?