The MU forums have moved to WordPress.org

using .htaccess for specific blogs (4 posts)

  1. stinkypup
    Member
    Posted 17 years ago #

    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.

  2. drmike
    Member
    Posted 17 years ago #

    I can't think of any way right off. htaccess rules are pretty much all or nothing when it comes to access.

  3. kingler
    Member
    Posted 17 years ago #

    I guess you can add specific rules based on the incoming URL match. If it is only for a few blogs, this might work.

  4. bradmkjr
    Blocked
    Posted 17 years ago #

    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?

About this Topic

  • Started 17 years ago by stinkypup
  • Latest reply from bradmkjr