Joomla: Remove IDs from URLs for out-of-the-box SEF

Applies to
  • Joomla! CMS v3.5.x

This is a short article on how to remove the ID numbers from your Joomla website addresses for search engine friendly URLs.

// What I have

// With URL rewriting enabled

// What I want
  1.  // What I have 
  4.  // With URL rewriting enabled 
  7.  // What I want 

You could buy an SEF extension that does this for you or spend time tweaking your .htaccess file.  Or you can take advantage of a Joomla update and do this without any coding...

To allow the Joomla CMS to manage your SEFs you need to setup your htaccess file:
  1. Open the root of your Joomla website in your file manager (you can FTP or use web-based clients)
  2. Find the file htaccess.txt and rename it to .htaccess

Now login to your Joomla Administrator section
  1. Browse to System > Global Configuration
  2. Click on "Articles" in the left sidebar
  3. Under "SEO Settings" set to "Yes" to the options:
    1. Search Engine Friendly URLs
    2. Use URL Rewriting
    3. Add Suffix to URL (optional)
    4. Unicode Aliases (optional - for international languages)
  4. Select the "Integration" tab
  5. Change the “URL Routing” option from Legacy to Modern
  6. A further option will appear called "Remove IDs from URLs, set to "Yes"
  7. Click on "Save" and you are done.
Category: Joomla :: Article: 711

Credit where Credit is Due:

Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.

Disclaimer: The information on this website is provided without warranty and any content is merely the opinion of the author. Please try to test in development environments prior to adapting them to your production environments. The articles are written in good faith and, at the time of print, are working examples used in a commercial setting.

Thank you for visiting and, as always, we hope this website was of some use to you!

Kind Regards,

Joel Lipman

Related Articles

Joes Revolver Map


Badge - Certified Zoho Creator Associate
Badge - Certified Zoho Creator Associate

Donate & Support

If you like my content, and would like to support this sharing site, feel free to donate using a method below:

Donate to Joel Lipman via PayPal

Donate to Joel Lipman with Bitcoin - Valid till 8 May 2022 bc1qjtp4l4ra452wzvuk9a45yfj82zkahsyy2z379y
© 2022 Joel Lipman .com. All Rights Reserved.