Your regular-expressions pattern is not quite right, the redirect type is not specified, and the back-reference syntax is incorrect. Try: RedirectMatch 301 ^/old-sub-cat/article-([^.]+)\.shtml$ http://example.com/cat/new-sub-cat/article-$1.shtmlI'm also assuming that the "sthml" in the substitution URL was a typo.