Remove index php joomla 3

Example: Improve Joomla 3 performance by removing unnecessary index.php from URLs.

Removing index.php from URLs in Joomla 3

Joomla 3 provides an SEO-friendly way to remove the index.php from the URLs of your website. This improves the readability and user-friendliness of your website's URLs, and it can also help search engines index your website's content more accurately. In this tutorial, we will show you how to remove the index.php from the URLs of your Joomla 3 website.

The first step is to enable URL rewriting in your Joomla 3 website. To do this, log in to your Joomla 3 administrator panel, click on the System tab, and then click on the Global Configuration link. On the Global Configuration page, click on the SEO Settings tab and then make sure the Search Engine Friendly URLs option is set to Yes.

Next, you will need to generate a file called .htaccess. This file must be placed in the root directory of your Joomla 3 website. To generate the .htaccess file, log in to your Joomla 3 administrator panel and click on the System tab. Then click on the Global Configuration link and then click on the Server tab. On the Server tab, make sure the Use URL Rewriting option is set to Yes. Then click on the Generate button to generate the .htaccess file.

Once the .htaccess file has been generated, you will need to edit it. To do this, you can use a text editor such as Notepad or a code editor such as Sublime Text. Open the .htaccess file in your text or code editor and look for the following line of code:


RewriteRule ^(.*)$ index.php?/$1 [L]

Replace the above line of code with the following line of code:


RewriteRule ^(.*)$ index.php/$1 [L]

Save your changes and then upload the .htaccess file to the root directory of your Joomla 3 website. The index.php should now be removed from the URLs of your website.

Answers (0)