I do not know this old question or not. I am Google for one hour, but I am unable to find the solution .
In htaccess we can redirect to an invalid file 404 (designed, not default).
For example:
  https: //www.example com / tedgfsst.php   If I enter invalid file extensions I need to redirect the 404 page to
For example:
  https: //www.example.com/tedgfsst.eg   or
  https://www.example.com/tedgfsst.cr   
Finally I got the answer to the invalid file extension redirect to the 404 error page.
 Revoked% {REQUEST_URI} / | (/[^.]* | []] [0-9] \. (Php | html? | Feed | pdf | vcf | raw)) $ [NC]   
No comments:
Post a Comment