Quantcast
Channel: PHP Blog Spot
Viewing all articles
Browse latest Browse all 42

Rewrite URL after redirecting 404 error htaccess

$
0
0

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.


Viewing all articles
Browse latest Browse all 42

Trending Articles