When I use Route method to convert a normal url in a SEF url it doesn't work if the article is not a menu item. I don't understand if it's a normal behavior or if I'm doing something wrong. There is my example:
My $item->link
is "index.php/eng/?view=article&id=29:article-name-1&catid=17".
- If I use
Route::_($item->link)
I obtain an identical url. - If I use
Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)
, I obtain the same.
They always return "index.php/eng/?view=article&id=29:article-name-1&catid=17" ...but that's not a SEF url.
How can I obtain a SEF url even if the article is not connected to a menu item?