I'm trying to get non existent pages that contain index.php to serve a 404.
Example: I want http://www.mysite.com/index.php/typo to give a 404 file not found. Right now a page like that just redirects to the home page, the outcome is that non existent pages have started showing in search engines results.
Currently I can only serve a 404 for non existent pages WITHOUT index.php: for example: http://www.mysite.com/typo gives a 404.
I have placed
ErrorDocument 404 /404.phpin htacces.
Based on the above I tried
ErrorDocument index.php/404 /404.phpbut I am given an internal server error.
Any help appreciated.
Thanks
Isabella






Find content
Female

