This tutorial is going to show you how to remove id from the article URL in Joomla 3.x template.
By default, Joomla article has its id prepended to the slug:
In order to remove the id from the article URL, you should perform the following:
Open up the components/com_content/router.php file in any code editor.
Locate the following function call:
$advanced = $params->get('sef_advanced_link', 0);
and replace it with
$advanced = $params->get('sef_advanced_link', 1);
There are two occurrences of that call (lines 34 and 287):
Save the changes and upload the file to the server. Your article URL now does not contain the id:
Feel free to check the detailed video tutorial below: