Activate SEO friendly URL in Joomla!

After a fresh install of Joomla your URL of a article may look something like this

http://www.hjdesign.nl/index.php?option=com_aicontactsafe&view=message&layout=message&pf=1&Itemid=58

This is of course not a very friendly URL to remember.
So lets change this to something more readable for everyone who visits your site.

  1. Rename htaccess.txt to .htaccess in your root folder of your Joomla installation
  2. Edit .htaccess and change # RewriteBase / to  RewriteBase / ( in short, remove the # )
  3. Login to your Joomla backend, and go to Global Configuration > Site
  4. On the left you will find the SEO settings.
  5. Change the setting of Search Engine Friendly URLs to Yes and click on Apply
    This will change the URL of the article to
    http://www.hjdesign.nl/index.php/contact
  6. To get rid of that ugly index.php change the setting of Use Apache mod_rewrite to Yes and click on Apply
    This will change the URL of the article to
    http://www.hjdesign.nl/contact
  7. If you want you can set the last option Add suffix to URLs to Yes.
    This will change the URL of the article to
    http://www.hjdesign.nl/contact.html
    The last one is just a matter of taste. Personally I leave this options disabled.
Posted in Joomla and tagged , , .

Leave a Reply