• Hi,

    I have a website running and my client now asks me to create an ‘intranet/extranet’ for it’s employees.

    I want to create an ip-filter so that the employees only can login from a certain ip-address. So I know how to do this with an .htaccess file BUT I allready have an .htaccess file in the root of my wp install.

    Can I go ahead and create an subfolder in my theme folder where I place the files for the intranet and also make the .htaccess file there or is there an other smart way to do this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You could add an .htacess file to your wp-admin folder that restricts access to certain IP addresses.

    Thread Starter mvanboordt

    (@mvanboordt)

    The thing is that the intranet/extranet needs to be an extention to the current website. The current website has an .htaccess file with rules. For the intranet I only want one ip-address to be able to get access. If I do this in the .htaccess file I allready have then other users can’t get on the website.

    or maybe (this just came to mind) is it possible to specify a url which can only be accessed from a certain ip-address?

    the intranet/extranet needs to be an extention to the current website

    So what about installing a second copy of WordPress and using something like http://wordpress.org/extend/plugins/absolute-privacy/

    Thread Starter mvanboordt

    (@mvanboordt)

    The link you provided shows me that the plugin haven’t been updated in 2 years. Ussually I don’t go for these plugins because they aren’t monitored for security and there will be no updates when WP updates.

    However I do like the idea to put this on a completely new copy of WP.
    If I just place the intranet/extranet on a subdomain I can create an .htaccess file on the subdomain!

    Thnx!!!!

    The link you provided shows me that the plugin haven’t been updated in 2 years.

    Because it doesn’t need to be updated. I’m using it atm on a 3.5.1 site with absolutely no problems.

    If I just place the intranet/extranet on a subdomain I can create an .htaccess file on the subdomain!

    In theory, yes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple .htaccess files’ is closed to new replies.