Results 1 to 11 of 11
Thread: rewrites 2 folders deep
Mar 6, 2013, 03:52 #1
- Join Date
- Mar 2013
- 0 Post(s)
- 0 Thread(s)
rewrites 2 folders deep
Bit new to mod rewrites, but realising it's power and very cool. I can get rewrites working when the actual file is in the root but not working when in subfolders.
What I'm trying to do:-
I want the URL mydomain.com/groundcare/hire/mowers/ to go to the page at mydomain.com/groundcare/hire/show.php?cat=mowers
I've tried the following but just get 404 page not found.
RewriteRule ^groundcare/hire/(.*)/$ groundcare/hire/show.php?cat=$1 [L]
I've been trying and going round in circles and I'm sure it's something simple so if anyone could point me in the right direction it would be greatly appreciated.