Answer the question
In order to leave comments, you need to log in
Is it possible to redirect to a given page via .htaccess?
Through .htaccess, I block access by ip to certain directories for everyone. As a consequence, when accessing the directory (page), we will see the classic:
403
Forbidden
You don't have permission to access /administrator/ on this server.
Answer the question
In order to leave comments, you need to log in
Redirect is done something like this
You already decide whether you want to give 403 Forbidden
or some 30x Redirect
Just in case a list of HTTP codes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question