wilded
6/8/2018 - 12:28 PM

Redirect Non existing Files to the index.php file

Redirect Non existing Files to the index.php file

#Redirect Non existing Files to the index.php file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^ /index.php [L,R=301]