Photo by Jared Murray on Unsplash

About 2mn to read

WHY

...
Read more:

WHY ?

This project start because of a challenge a joomler friend of mine posted in JUG Breizh on FB on February 16th 2021 The challenge was: Given an url structure like: /parent-category/subcat-a/article-1 /parent-category/subcat-a/article-2 /parent-category/subcat-c/article-7 How to make it work with urls like: /parent-category/article-1 /parent-category/article-2 /parent-category/article-7 In other words without the subcategory

WHAT ?

The answer to that delicious puzzle was custom router rules.

HOW ?

TLDR; Custom router rules injected via a system plugin onAfterInitialise event just right after Joomla! started "booting"

  • About the author:

    Hi! Alex here,

    Joomla Developer since 2009, focused on Web Services since 2017,

    first in Joomla! 3 with jBackend and com_api

    More recently Web Services in Joomla! 4.x core.

    I like paperback format books, challenging projects and defensive cybersecurity "Blue Team".

    That's all for now. Have a delightful day.