1. First check whether apache supports turning on pseudo-static. Open the phpstudy control panel, find php extensions and settings
2. In the apache extension menu, find the rewrite_module module and enable it. Directly open the httpd.conf file under "/apache/conf/" in the apache configuration file, search for "LoadModule rewrite_module", and delete the "#" in front of it
3. Enable phpstudy pseudo-static support, then find the panels in sequence, and open the configuration file httpd-conf
##4. It is recommended to edit with a text editor and search for AllowOverride None. Replace with AllowOverride All (there are many settings that need to be replaced) and then save 5. After modification, restart the apache service or directly restart phpstudy 6. Then write the pseudo-static rules of Rewrite and add the .htacces file. Testing pseudo-static is actually a method of "redirecting" to hide the real address Recommended tutorial:The above is the detailed content of phpstudy pseudo-static settings. For more information, please follow other related articles on the PHP Chinese website!