The Chinese language has never been very good. I really don't know how to explain this pathinfo mode. Let's talk about the pathinfo mode in a piece of code. 1 http: // serverName/appName/module/action/id/1/This is the pathinfo mode, the first parameter will be parsed into the module name (if grouping is enabled, it will be rolled back in turn), the second parameter will be parsed into an operation, and the subsequent parameters will be passed explicitly, it must also appear in pairs. For example, 1 http: // serverName/appName/module/action/year/2008/month/09/day/21/the usual URL contains index. php, in order to achieve better SEO effect, you may need to remove the index in the URL. php, which can be achieved through URL rewriting, usually requires the server to enable the URL_REWRITE module. The following is the configuration process of Apache. For details, refer to: 1. httpd. the mod_rewrite.so module is loaded in the conf configuration file. 2. Replace AllowOverride None with All3, make sure that URL_MODEL is set to 24, and save the following content. put the htaccess file in the same directory as the entry file. 1 <IfModule mod_rewrite.c> 2 RewriteEngine on3 RewriteCond % {REQUEST_FILENAME }! -D4 RewriteCond % {REQUEST_FILENAME }! -F5 RewriteRule ^ (. *) $ index. php/$1 [QSA, PT, L] 6 </IfModule>. the htacces file can be Baidu. Here we will remind you that the saved file name is. htaccess, which may only look like a suffix. Do not add a *** in front of it ***. htaccess. After Apache is restarted, the original http: // serverName/index. php/Blog/read/id/1 can simplify the URL address by accessing http: // serverName/Blog/read/id/1