passwordprotectwordpresswebpage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
passwordprotectwordpresswebpage [2025/06/03 17:35] – tektinkers | passwordprotectwordpresswebpage [2025/06/03 18:33] (current) – tektinkers | ||
---|---|---|---|
Line 7: | Line 7: | ||
Create a .htpasswd fire.\\ | Create a .htpasswd fire.\\ | ||
- | < | + | < |
Add the following lines to the .htaccess file.\\ | Add the following lines to the .htaccess file.\\ | ||
Line 13: | Line 13: | ||
AuthName " | AuthName " | ||
AuthUserFile / | AuthUserFile / | ||
- | Require valid-user</ | + | Require valid-user</ |
//Ensure the AuthUserFile path matches where you stored the .htpasswd file// | //Ensure the AuthUserFile path matches where you stored the .htpasswd file// | ||
\\ | \\ | ||
Line 21: | Line 21: | ||
Modify the httpd.conf file to allow .htaccess authentication\\ | Modify the httpd.conf file to allow .htaccess authentication\\ | ||
- | < | + | < |
Restart Apache to apply. | Restart Apache to apply. | ||
< | < | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | **Change Username** | ||
+ | < | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | **Change Password** | ||
+ | < | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | **Remove Username** | ||
+ | < | ||
+ | you can also edit the file, each line is a user.\\ | ||
+ | < |
passwordprotectwordpresswebpage.1748972119.txt.gz · Last modified: 2025/06/03 17:35 by tektinkers