I’m currently tidying up 404 links on a site and was wondering if its possible to redirect any URL that are all located in the same folder on the server instead of individual files?
Thanks
I’m currently tidying up 404 links on a site and was wondering if its possible to redirect any URL that are all located in the same folder on the server instead of individual files?
Thanks
Take a look at RedirectMatch from mod_alias.
i.e.
RedirectMatch permanent /some/directory/.* /new/location