Configuring URL Rewriting for ThinkPHP5 Public Entry File
Enabling Pseudo-Static URLs in ThinkPHP5
To hide the application entry file index.php from URLs in ThinkPHP5, URL rewriting can be used. Below are configuration examples for different server environments.
Apache Configuration
Place the following code in a .htaccess file in the same directory as your index.php file. Most ThinkPHP installations a ...
Posted on Sat, 05 Sep 2026 16:09:56 +0000 by eroticheretic