Amazon black friday deals

How to remove the article id from the url Joolma 3.5

How to remove the article id from the url Joolma 3.5

Learn how to How to Remove Article ID from Joomla 3.5 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 34 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 294 where you will locate it

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

With this:

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

Step 3

Line 337:

if($count == 1)

With this

if($count == 1 AND empty($advanced))

Thats it. Have a good day : Link with us

NB:

Do this at your own risk – we are neither recommending this step or not recommending this step. We are simply stating that this can be accomplished. Make a backup of the file before editing the original. When you upgrade Joomla you will need to repeat these steps.

Leave a Comment