I'm just using the following .htaccess
config. But when I try to access a non-existent .php
file, eg. xyz.php
, the server returns a 404 instead of rewriting to index.php
. What am I missing?
RewriteEngine on
FallbackResource /index.php
I'm just using the following .htaccess
config. But when I try to access a non-existent .php
file, eg. xyz.php
, the server returns a 404 instead of rewriting to index.php
. What am I missing?
RewriteEngine on
FallbackResource /index.php