Welcome Guest, Not a member yet? Register   Sign In
Route problem url extension
#1

[eluser]Unknown[/eluser]
Hi,
I have a problem with the configuration of URI Routing.
My problem is when I use this URI Routing :
Code:
$route['ref-(:num)-(:any)'] = 'welcome/referenceDetails/$1/$2';
It works well the page are loaded but if I add '.html' for the extension of page :
Code:
$route['ref-(:num)-(:any).html'] = 'welcome/referenceDetails/$1/$2';
The page return a 404 error !

Why ?

Because I also use this :
Code:
$route['(:any).html'] = 'welcome/$1';
And this works !

I do not understand, can you help me ?

Ps : Sorry for my english, because I'm French...




Theme © iAndrew 2016 - Forum software by © MyBB