I have a wordpress site that is at a URL and I am wanting to redirect all traffic except a few IP address to a coming soon type page.
So if I had 3 IP's, those 3 IP's would see the current wordpress site and all other traffic would be redirect to a certain URL
Is this possible with Apache? Something that could be put in an .htaccess file?
You can do this with mod_rewrite in a .htaccess file: