How to remove index.php from URLs in Joomla

As we navigate through our web site we can see that the url contains the word index.php. To have the website better indexed by search engines such as Google, the pages have to be with meaningful names without index.php. That's why Omegatheme recommends using Joomla's SEO functionality.

We noticed that when the Use URL rewriting option was enabled, index.php was removed from our URLs. In this tutorial we'll show you how to use this Use URL rewriting tool in Joomla 3

Step 1: Log into your Joomla 3.0 dashboard

Step 2: In the left menu, click on the Global Configuration link under the SYSTEM heading

Step 3: There are several tabs at the top of the page. If you are not on the Site tab, click Site.

Step 4: On the right side of the page, find the Use URL rewriting option (see the screenshot below). Adjust the setting to Yes / No, and then click Save in the top left menu.

enable joomla sef


Use URL rewriting
Select to use a server's rewrite engine to catch URLs that meet specific conditions and rewrite them as directed. Available for IIS 7 and Apache.
Apache users only!
Rename htaccess.txt to .htaccess before activating.
IIS 7 users only!
Rename web.config.txt to web.config and install IIS URL Rewrite Module before activating.

Step 5: Rename htaccess file, in this step you should use FTP client login and rename htaccess.txt to .htaccess as image below

rename htaccess file


Final reload your site!

Related Articles