Redirect an exact url to another no Apache2 using mod_rewrite
# static RedirectMatch ^/my/static/url/$ /to/another/static/url/ # with regex matching RedirectMatch ^/my/static/([^\/]+)/$ /to/another/static/$1/