Remove index.php from all the URLs in your Joomla site

When turning on Search Engine Friendly URL’s in Joomla, they begin adding an extra index.php within the URL’s so that it looks something like this –

I want the URL to be

It’s cleaner and better for the search engines.

So, here are the steps I took to remove the unnecessary index.php:

  1. Go to the Global Configuration area within your Joomla admin.
  2. Under SEO Settings, click YES for the following two items:
    1. Search Engine Friendly URLs
    2. Use Apache mod_rewrite 
  3. Now, go to your htaccess.txt file at the root of your site and rename the file .htaccess.
  4. Use some sort of text editor (I use text wrangler) to remove the ‘#’ before the words ‘RewriteBase' 
  5. Now, try to navigate around your Joomla website.  The index.php should be gone.
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Create a web site with Joomla

How do I create my website with Joomla? Choose a template for your website. Joomla is an...

How to upgrade Joomla

This Joomla knowledgebase article explains how to best upgrade your Joomla install the latest...

Joomla errors? Re-install the latest Joomla Core package

Occasionally, Joomla will have a small hiccup and you can experience 'strange' errors such as the...

Re-set Joomla password steps

Resetting in PhpMyAdmin If you have lost your admin password and you can't log into the...

Copying a Joomla site

How to copy a Joomla site.