How to hide index.php on a web page
Editor to share with you how to hide index.php, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
The method of hiding index.php on the web page: 1, find the configuration file of the website; 2, add "rewrite ^ / (. *) $/ index.php/$1 last;" content.
This article operating environment: Windows7 system, pagoda panel version 7.4.0, Dell G3 computer.
The method of hiding index.php on server! Pagoda panel
1. Find the profile for the website
two。 Just copy this code.
Location / {if (!-e $request_filename) {# first-level directory rewrite ^ / (. *) $/ index.php/$1 last;}}
The above is all the contents of the article "how to hide index.php on the web page". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!