Answer Posted / Ravit Kumar
To password protect an entire WordPress site, you can modify the .htaccess file within your WordPress root directory. Add or edit the following lines: nnAuthType BasicnAuthName 'WordPress'nAuthUserFile /path/to/.htpasswdnRequire user username1 username2 ...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers