Is it possible to redirect .php pages?

Is it possible to redirect .php pages?

These pages are intentionally blocked by us to present any issues caused from .php pages, so it is not possible to redirect them.