test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Tech-xml Friend
    #706542

    How to remove the article ID in the URL?

    Teline the template has an option that removes the IDs of the URL.

    how to do this in the template UBER?

    That
    xxxx/services/design/118-design-graphic

    for
    xxxx/services/design/design-graphic

    I’m using the site on a subdomain

    TomC Moderator
    #706603

    Here is one possible way . . . .

    Step 1
    Edit ?components/com_content/router.php?, then continue on step 2.
    Remember, you?ll probably have to re-do this step every time 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
    You want to edit your router.php file:
    – From: ->where($db->quoteName(?alias?) . ? = ? . $db->quote($db->quote($segment)));
    – To: ->where($db->quoteName(?alias?) . ? = ? . $db->quote($segment));

    TomC Moderator
    #752520

    Here is one possible way . . . .

    Step 1
    Edit ?components/com_content/router.php?, then continue on step 2.
    Remember, you?ll probably have to re-do this step every time 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
    You want to edit your router.php file:
    – From: ->where($db->quoteName(?alias?) . ? = ? . $db->quote($db->quote($segment)));
    – To: ->where($db->quoteName(?alias?) . ? = ? . $db->quote($segment));

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  TomC 9 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum