Answer the question
In order to leave comments, you need to log in
How to restrict access by IP and set up redirection to another site for all but the selected IPs?
access to the site to everyone except the selected IP addresses through htaccess?
all but the selected IP addresses need to be redirected to a new domain
, we are working on a prototype, there is a working site.
Recently, the system sent letters, many go to the prototype instead of the working site.
Answer the question
In order to leave comments, you need to log in
order deny,allow
deny from all
allow from *.*.*.*
ErrorDocument 403 http://newsite.ru/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question