This suggestion addresses an issue in the Joomla Tags component (com_tags) to enhance SEF (Search Engine Friendly) URL generation when using filters:
?types[0]=1&tag_list_language_filter=en-GB) instead of being properly rewritten by mod_rewrite. This deviates from the standard behavior in nested requests for com_content, where filters are cleanly integrated into the URL path without additional segments or query strings, preserving the base menu item URL.This change would improve SEO, user experience, and consistency across Joomla's core components.
/en/recent-publications/e-books?types[0]=1&tag_list_language_filter=en-GBcom_content where mod_rewrite strips and rewrites query params into path segments (e.g., /category/subcategory?filter=active becomes /category/subcategory without exposing filter details in the URL).com_content's SEF handling: Use mod_rewrite to incorporate filter values internally without altering the visible URL path, resulting in a clean base URL like /en/recent-publications/e-books (no additional segments or query params).com_tags router (router.php) to parse and build filter-aware segments internally, similar to Joomla\CMS\Component\Content\Router\Router::build(), while keeping the external URL unchanged.types[0]=1, tag_list_language_filter=en-GB)./en/recent-publications/e-books).build() method in components/com_tags/router.php to detect active filters from the menu item's state and handle them internally without appending to the URL.Joomla\CMS\Router\Router::createSEF() for consistency, ensuring the output remains /en/recent-publications/e-books regardless of filters.| Labels |
Added:
No Code Attached Yet
|
||