Add redirect view for php pages