I have a good look at other posts but cannot work out what I need.
I am trying to acheive this
http://www.website.com/ to http://www.website.com/
but with
http://{subDir}/website.com/{page} to http://www.website.com/sub/{page}?dir={subDir}
I am using ?dir= for some PHP code.
I thought I was getting a dab hand at mod_rewrite and write simple urls easily, but this seems to be way out of my depth.
Any ideas??