Reputation: 36237
I am currently trying to create a .htaccess file that redirects to a php file if a error 404 occurred.
However, When I choose a php file it just displays the default 404 not found error, but if i change it to html it then works fine and displays my page.
What is wrong with this.
Thanks for your help
Upvotes: 0
Views: 480
Reputation: 7349
Sadly there isn't enough to go on here, but I can give you some questions to help you debug this (too much for a comment otherwise I would have done that):
Upvotes: 1