put redirect in wrong file