Recently in the study of the Joomla system (a well-known CMS system), after installation found that the URL of the page always has a index.php presence, feeling very unsightly, determined to remove it and then quickly, less nonsense, the following 2.5 version as an example of the removal process.
1. Login management background, in the "site", "Global Configuration", "Site" in "SEO Settings" all Tick "Yes":
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/EB/wKiom1NuTyGzbFhlAABFMpXhK5E769.jpg "title=" 1123231.JPG "alt=" Wkiom1nutygzbfhlaabfmpxhk5e769.jpg "/>
2. Create the. htaccess file: Save the htaccess.txt file under the Joomla installation directory as . htaccess(Note thattheWindows cannot be renamed directly, you can Save As. htaccess by using an editor such as notpad++ .
3. Enable the Apache rewrite module:in theApacheunder installation directoryconfin the directoryhttpd.confOpen in Filemod_rewritemodule, specific modification method:FindLoadModule rewrite_modulemodules/mod_rewrite.soLine, put the previous#number and restart Apache. If you don't already have a #, you can skip this step.
4. Remove the index.php but the page appears 404 Not Found Error Resolution: This is because the rewrite module in Apache is not enabled and requires will behttpd.confin theallowoverride Nonechange all to:allowoverride All, then restart Apache.
This article is from the "fireworks easy to cool" blog, please be sure to keep this source http://yuanhuan.blog.51cto.com/3367116/1409332