How to Remove Article ID from Joomla 3.3 url

Learn how to How to Remove Article ID from Joomla 3.3 url

Remember, you’ll probably have to re-do this step every time you update Joomla.

Step 1
Open components\com_content\router.php in an editor and make small changes:

 

Step 2
(There are two places need to do this change, one near the top, one in the middle) Replace this:

In line 38 or where you will locate it

$advanced = $params->get(‘sef_advanced_link’, 0);

With this:

$advanced = $params->get(‘sef_advanced_link’, 1);

And in line 290 where you will locate it

$advanced = $params->get(‘sef_advanced_link’, 0);

With this:

$advanced = $params->get(‘sef_advanced_link’, 1);

Step 3
Replace line 426 or where you will locate it

->where($db->quoteName(‘alias’) . ‘ = ‘ . $db->quote($db->quote($segment)));

with

->where($db->quoteName(‘alias’) . ‘ = ‘ . $db->quote($segment));

Thats it. Have a good day

Leave a Comment