- Code: Select all
www.mysite.com
do nothing simply go to the site
Then:
- Code: Select all
www.mysite.com/categoryname
changes to
- Code: Select all
www.mysite.com/page1.php?cat=categoryname
and lastly :
- Code: Select all
www.mysite.com/examplecity-examplestate/exampleuid
changes to
- Code: Select all
www.mysite.com/page2.php?city=examplecity&state=examplestate&uid=exampleuid
These are the only rewrites i need as my entire site could function with just those.
I read the tutorials and sort of grasped how to do the redirects, but I'm not quite there.
I almost forgot. I need it to do that and still show what the user typed in.
so
- Code: Select all
www.mysite.com/category
is changed to
- Code: Select all
www.mysite.com/page1?cat=category
but the user still sees
- Code: Select all
www.mysite.com/category