diff --git a/components/com_content/router.php b/components/com_content/router.php index 666983a9068dd..d9151187a18f8 100644 --- a/components/com_content/router.php +++ b/components/com_content/router.php @@ -207,6 +207,16 @@ function ContentBuildRoute(&$query) } } + if ($view == 'featured') + { + if (!$menuItemGiven) + { + $segments[] = $view; + } + + unset($query['view']); + } + // if the layout is specified and it is the same as the layout in the menu item, we // unset it so it doesn't go into the query string. if (isset($query['layout']))