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

[eluser]mr_prasanna[/eluser]
Hi,

We've created a simple ecommerce site using reactor 2.0.2
We now need to get the friendly urls in place and stuck with this.

There are two apps 1. store and 2. admin we've added rules to hide index.php under admin and it works fine. With store we want to map urls like below and it's not working. please help.
Thanks in advance.

Code:
mysite.com/store/cart/show TO mysite.com/store/index.php/cart/show

Code:
mysite.com/store/some-category/some-product TO mysite.com/store/index.php/product/info/$1/$2

Where, $1 is some-category and $2 is some-product


Code:
mysite.com/store/some-category TO mysite.com/store/index.php/category/list/$1

mysite.com/store/some-category/some-product


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