FallbackResource not working for .php url

117 Views Asked by At

Htaccess

RewriteEngine On

FallbackResource /errordoc.php

FallbackResource load content from errordoc.php when the file or data does not exist in the server. It working fine for all non-exist url except url ending with .php. When url ending with .php (example.com/something.php) than it ignore FallbackResource

How to make FallbackResource also work for url ending with .php

0

There are 0 best solutions below