Hey everybody,
I need to rewrite the following URL
example.com/directory1/directory2/page?id=1
into:
example.com/template.php?p=page&dir=/directory1/directory2&qp=?id=1
I've been struggling with writing a RewriteRule for this, and I'm not convinced that it is possible.
I realize it is a bit strange but it will be used for a templating system I'm working on for a project.
Any ideas?