How to remove Article ID from Joomla 3 url

How to remove Article ID from Joomla 3 url

New Issue
Joomla Support Stella
  • (1 Ratings)

Hi,

I need to remove article id from live url of my website, how it can be possible in joomla 3.0.

Thanks.

1 Responses

AppClave

6 years ago #191

Hi Stella,

Step 1:

First go and edit “components/com_content/router.php“, then continue on step 2. Note: Remember, you have to repeat or re-do following steps everytime you update Joomla!. 

Step 2: 

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

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

With this:

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

Step 3: 

Replace this:

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

With this:

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

and now you're done.

Best Regards 
AppClave Team

Submit Your Response