Can someone point me to any documentation regarding using .htaccess for only some WP MU blogs? I have a mix of blogs that will be open to the public and restricted. Would like to use .htaccess to restrict only several blogs by IP address.
Can someone point me to any documentation regarding using .htaccess for only some WP MU blogs? I have a mix of blogs that will be open to the public and restricted. Would like to use .htaccess to restrict only several blogs by IP address.
I can't think of any way right off. htaccess rules are pretty much all or nothing when it comes to access.
I guess you can add specific rules based on the incoming URL match. If it is only for a few blogs, this might work.
I just ran across this plugin, maybe this will be of some help?
http://www.lesterchan.net/wordpress/readme/wp-ban.html
I don't recommend banning users by Ip, it would be better to redirect them to the home page?
Also are you using subdirectories or folders?