I used to have my website at mydomain.com/site/ and I switched over to a new installation in the root of the domain. So mydomain.com/site/my-blog will become mydomain.com/my-blog.
I tried 'Request Only' with '^/site/.*$' and without it as 'mydomain.com/site/.*' and both seem to trigger ReDJ.
However, I am stuck on the rewriting part: I set 'To URL' as 'http://{siteurl}/{preg_match 1}/\/site\/(.*)/{/preg_match}'
Going to mydomain.com/site/my-blog results in a 404 and ends up at '
mydomain.com/{preg_match 1}/\/site\/(.*)/{/preg_match}'
I also tried using the placeholders by defining one as:
'part={preg_match 1}/\/site\/(.*)/{/preg_match}' and setting the 'To URL' field as 'http://{siteurl}/{part}'. I then end up at 'mydomain.com/{part}' which of course is another 404 error...
Am I doing something wrong?