Looks like you’ll need to specify an ErrorDocument line in .htaccess for every error you want to redirect. You can use the following as the generic redirect script to replace with custom url. ErrorDocument 404 /404.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond
The post Rewrite URL after redirecting 404 error htaccess appeared first on PHP Blog Spot.