[eluser]Unknown[/eluser]
Hi,
I have a problem with two kinds of links, one that goes to the article (1539 is it's specific ID):
Code:
/Article_name-1539.html
and one that goes to the category (47 is it's specific ID):
I want to route them, I tryed these following codes without any result exept some 404 errors
Code:
$route['-(:num).html'] = "ArticleClass/function/$1/";
$route['-(:num)/'] = "CategoryClass/function/$1/";
how can I do this? Thanks in advance.