.htacces password protection for wordpress multisite
-
I’ve set up a wordpress multisite installation. I’am using Domain Mapping to have domains for each of the websites.
https://www.something-0.de
https://www.something-1.de
https://www.something-2.de
https://www.something-3.deI would like to implement a .htaccess password protection for https://www.something-1.de and https://www.something-4.de – as these Website are still in development.
I’am using Apache Version 2.2
How to implement this within the .htaccess file?
I have tried the code below. Unfortunately this does not work with Apache 2.2
<If “req(‘Host’) != ‘www.wooga.com'”>
do the password stuff
</If>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘.htacces password protection for wordpress multisite’ is closed to new replies.