/ Published in: Apache
URL: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
Make file not found redirect to new host.
Expand |
Embed | Plain Text
# if images files not found will be redirect to our main server RewriteCond %{REQUEST_URI} .?\.(gif|jpg|png|jpeg) RewriteCond %{REQUEST_FILENAME} !-f # Rewrite all other URLs to index.php/URL RewriteRule .* http://www.extocapital.com/$0 [R=301,L]
You need to login to post a comment.
