Redirecting without mod_rewrite using regular expressions in htaccess

Posted on 09-04-2017 by Nadir Latif


Source: http://www.askapache.com/htaccess/seo-search-engine-friendly-redirects-without-mod_rewrite/#RedirectMatch_wildcards

The RedirectMatch directive can be used to redirect a url to another url using regular expressions. It does not use the Apache mod_rewrite module

For example: RedirectMatch 302 /htaccess/seo-search-engine-friendly-redirects-without-mod_rewrite/$ http://www.askapache.com