Hi Bob,
Yes, i've got 37 other rewrites in there that all work fine, eg this one which is a very similar type:
rewrite ^/tips-and-advice/ /blog/ permanent;
But this new one (and about 11 others) don't work for some reason.
I'm wondering if there is some sort of conflict with FURL?
Cheers
Mike
-
MODX Staff
- 730 Posts
For reference, for others with the same problem, here's the solution. The regular expression in the rewrite rule has to have forward slashes (or any other special characters) escaped. So the working directive would look like this:
rewrite ^\/tips-and-advice\/ /blog/ permanent;