As the title says is there any easy way to redirect every forbidden error and page not found to my main page index.php?
Here is my htaccess don't think it will be of any use but here it is:
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/.]+)&([0-9a-zA-Z_-]+)$ index.php?Patch_No=$1&tab=$2 [NC,L]
RewriteRule ^patches php/patches.php [NC,L]
RewriteRule ^([0-9a-zA-Z_-]+)$ index.php?Champion=$1 [NC,L]