NixUser | Unix User | Linux User | NixUser


WordPress Password Protection and mod_rewrite error

  I have added the following to my .htaccess file (password protected) to limit the access to wordpress login pages.   ErrorDocument 401 “Unauthorized Access” ErrorDocument 403 “Forbidden” <FilesMatch “wp-login.php”> AuthName “Authorized Only” AuthType Basic AuthUserFile /home/user/.htpasswd require valid-user </FilesMatch>   But after the change, the page won’t load, it gave out a infinite loop More

Password protect directory or folder in wordpress installed directory

How to password protect a directory or files within WordPress installed directory? To do this, you need to create a file named 401.html and edit the .htaccess file in the password protected directory. Create the 401.html file in a separate directory (or in root directory) than the password protected directory. In this case I created More

access a folder/directory in wordpress

Suppose you have installed wordpress in root directory of your account. There is a folder/directory, say docs in the same (root) directory. You will not be able to access this folder like url. The wordpress will redirect to a 404 page instead. To override the wordpress rewrite rules, add the following line to .htaccess More

Import/Export wordpress content from/to another wordpress instance

Suppose you want to move your wordpess contents to another instance. WordPress currently supports both importing and exporting data in the form of posts. The content Import and Export scripts can be found under Tools >> Import / Export menu of your WordPress administration interface. Source:

you have been locked out due to too many invalid login attempts wordpress

you have been locked out due to too many invalid login attempts This message is frustrating when you try to login to the wordpress admin dashboard. Here is the steps to fix this error. 1. Log in to your cPanel and open phpMyAdmin to open your wordpress database. 2. Find the table xxxxxx_itsec_lockouts (where xxxxxx More