JoelT
asked on
How do I redirect by IP Address using htaccess?
Hi, I am wanting to redirect all users except 3 IP addresses.
All files / onwards should redirect to /standby/upgrading.html
This should affect all users except 3 IP addresses which will need access without being redirected.
Any help with this appreciated.
All files / onwards should redirect to /standby/upgrading.html
This should affect all users except 3 IP addresses which will need access without being redirected.
Any help with this appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I redirect to google, you might redirect elsewhere.
ASKER
Thanks, I worked it out ;)
Just a tip to those redirecting to a local address.... inside the folder you are redirecting to put "RewriteEngine On" in to a htaccess file and nothing else in there, don't include the quotation marks otherwise using the above post sends it in to a loop if redirecting locally.
Regards,
Joel
Just a tip to those redirecting to a local address.... inside the folder you are redirecting to put "RewriteEngine On" in to a htaccess file and nothing else in there, don't include the quotation marks otherwise using the above post sends it in to a loop if redirecting locally.
Regards,
Joel