5 1 1 1 1 1 1 1 1 1 1 Rating 5.00 (2 Votes)

Joomla (the Content Management System behind this website) now allows admins to switch to shorter URLs by removing the page ids.

I have just switched and would like to ask you to let me know if you experience any errors when accessing content on this website.

Here's the technical angle

The new routing system defines a new and more flexible interface for developers to handle creating and processing URLs and gives end users more options as it relates to how URLs are displayed (including the often requested ability to remove content item IDs from the URL).

As of Joomla! 3.8, for the components which support the new router (Content, Contacts, Users, and Newsfeeds), it is possible to set up the router to run in one of three different configurations:

  • The current routing system (which will remain the default behavior for new installations and the option that will be generally recommended for existing sites when upgrading),
  • The new routing system,
  • The new routing system with content item IDs removed.

Note

Because the URLs generated with the new routing system are not 100% compatible with the existing router and its URLs, it is suggested that existing sites do not enable the new system without thoroughly testing their sites in a staging environment and addressing any URL changes.

New sites are encouraged to make use of the new system immediately.

What are the changes in the URLs?

When SEF options are enabled, here are two pages from the testing sample data set with each of the routing configurations:

Animals Photo Gallery Category Page:

  • Existing router: /article-categories/72-park-site/photo-gallery/animals
  • New router enabled with IDs: /article-categories/26-park-site/28-photo-gallery/72-animals
  • New router enabled without IDs: /article-categories/park-site/photo-gallery/animals

Koala Article Page:

Existing router: /article-categories/72-park-site/photo-gallery/animals/25-koala

  • New router enabled with IDs: /article-categories/26-park-site/28-photo-gallery/72-animals/25-koala
  • New router enabled without IDs: /article-categories/park-site/photo-gallery/animals/koala
  • The numbers indicate the IDs of your categories and articles.

With the new router and the Remove IDs option enabled, the IDs are removed, which allow to have cleaner and more friendly URLs. It will also improve your SEO.