This problem is driving me nuts. I've tried reading loads of tutorials about how to use mod_rewrite but I just can't get my head around it.
These questions must get asked all the time, so apologies for looking like a dumb***.
My problem is this. I need to remap several request URLs to my wordpress installation. Wordpress also uses mod_rewrite... does chaining work properly? The rewrites I need to make are:
- example.com -> example.com/site
- example.com/blog -> exaple.com/site/categories/blogposts
- example.com/site/blog -> exaple.com/sites/categories/blogposts
Ideally I would like to remap the URLs rather than perform a redirect, but could put up with it if there is no other solution.