Welcome Guest, Not a member yet? Register   Sign In
HTACCESS questions
#4

[eluser]XMadMax[/eluser]
The routes conf must to be declared in order of:

First, knowed paths (as you say, infopage)
Last, unknown paths (for categories, etc...) in inverse length order:
For 3 levels: ([a-z0-9_-]+)/([a-z0-9_-]+)/([a-z0-9_-]+)
For 2 levels: ([a-z0-9_-]+)/([a-z0-9_-]+)
For 1 level: ([a-z0-9_-]+)

Anyway, if your unknown path is a controller/function, codeigniter can find it (if exists).
Any other paths will go to the controller you define in your routes conf.



Messages In This Thread
HTACCESS questions - by El Forum - 09-01-2012, 02:12 AM
HTACCESS questions - by El Forum - 09-01-2012, 01:22 PM
HTACCESS questions - by El Forum - 09-02-2012, 11:13 AM
HTACCESS questions - by El Forum - 09-04-2012, 03:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB