title: SImple way to redirect 403 and 404 errors to the main page htaccess
body: <p>As the title says is there any easy way to redirect every forbidden error and page not found to my main page index.php? </p>
  
  <p>Here is my htaccess don't think it will be of any use but here it is:</p>
  
  <pre><code>ErrorDocument 404 /leaguenotes/administration/cms/new_patch
  ErrorDocument 403 /leaguenotes/administration/cms/new_patch
  
  Options ALL -Indexes
  
  RewriteEngine On
  
  RewriteRule ^([0-9/.]+)$ index.php?Patch_No=$1 [NC,L]
  
  RewriteRule ^([0-9/.]+)&amp;([0-9a-zA-Z_-]+)$ index.php?Patch_No=$1&amp;tab=$2 [NC,L]
  
  RewriteRule ^patches php/patches.php [NC,L]
  
  RewriteRule ^([0-9a-zA-Z_-]+)$ index.php?Champion=$1 [NC,L]
  </code></pre>