EricDWheeler.com

Switch to desktop Register Login

23 Jul

How to Remove index.php from Joomla URL’s

Rate this item
(0 votes)

I spent hours trying to figure this out and thought I would write about the solution.  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 – http://www.yoursite.com/index.php/category/article.

I want the URL to be http://www.yoursite.com/category/article.

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 /
    1. For me, this was around line 53 of the .htaccess file.
  5. Now, try to navigate around your Joomla website.  The index.php should be gone.
Eric

Eric

Eric Wheeler is a Professional Graphic Designer, Digital Artist and Web Designer, and has been working with Photoshop®, Illustrator®, InDesign® and Flash® commercially for over 11 years now. He has also been working with Joomla® CMS website systems for over 3 years.  He is now venturing into the world of 3D modeling with Cinema4D® and Autodesk Maya® as well as video post production with AfterEffects®.

Website: www.ericdwheeler.com Email This email address is being protected from spambots. You need JavaScript enabled to view it.

Leave a comment

Make sure you enter the (*) required information where indicated.Basic HTML code is allowed.