Joomla URL to remove index.php

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.