301 Redirect Old URL to New WordPress Page July 4, 2022 by Tarik Billa Try below Rule, RewriteRule ^([a-zA-Z-]+)/(.*)/?$ /office/$2/ [R=301,L] It makes trailing slash optional.