Posted By

stephcode on 05/12/11


Tagged

redirect page htaccess not found


Versions (?)

Basic 404 and 500 Page Not Found .htaccess redirect


 / Published in: Other
 

URL: http://designertuts.com/htaccess-stopping-page-not-found-errors/

And http://www.htpasswdgenerator.com/apache/htaccess.html

  1. <IfModule mod_rewrite.c>
  2.  
  3. RewriteEngine On
  4. RewriteBase /
  5.  
  6. </IfModule>
  7. ErrorDocument 404 http://yoursite.com/path/file.php
  8. ErrorDocument 500 http://yoursite.com/path/file.php

Report this snippet  

You need to login to post a comment.