If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

Joomla 3.x. How to remove the id from the article URL

This tutorial is going to show you how to remove id from the article URL in Joomla 3.x template.

Joomla 3.x. How to remove the id from the article URL

By default, Joomla article has its id prepended to the slug:

Joomla_3._How_to_remmove_the_id_from_the_article_URL-1

In order to remove the id from the article URL, you should perform the following:

  1. Open up the components/com_content/router.php file in any code editor.

  2. 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):

    Joomla_3._How_to_remmove_the_id_from_the_article_URL-2

  3. Save the changes and upload the file to the server. Your article URL now does not contain the id:

    Joomla_3._How_to_remmove_the_id_from_the_article_URL-3

Feel free to check the detailed video tutorial below:

Joomla 3.x. How to remove the id from the article URL