Welcome Guest, Not a member yet? Register   Sign In
url rewriting vs routing
#5

[eluser]mr_prasanna[/eluser]
Ok, I had some luck with

$route['(:any)/(:any)'] = "product/info/$1/$2";

But, for some reason the page title was 404 page not found. Content was fine.

Also, for first (:any) I think I need a regex that gets me any string except (cart|product|account|auth). Please help if you can.


Messages In This Thread
url rewriting vs routing - by El Forum - 05-04-2011, 05:37 AM
url rewriting vs routing - by El Forum - 05-04-2011, 07:39 AM
url rewriting vs routing - by El Forum - 05-04-2011, 07:45 AM
url rewriting vs routing - by El Forum - 05-04-2011, 07:53 AM
url rewriting vs routing - by El Forum - 05-04-2011, 11:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB