Password Protecting Media

an additional solution that may work and require no coding is to insert the PDF into a post and just have the post protected. Then insert the post onto the page

How do I transfer user passwords from one WordPress site to another?

Yes and no wp_salt is the function you’re thinking of: https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/pluggable.php#L1988 Your theory should be correct, copying the passwords over via SQL, and making sure all the salts are the same, then clearing cookies and trying to login, should do the trick. However, if we look at the code in the function, there are filters … Read more

Force to use STRONG users password and implement rule to prevent REUSE [closed]

You might want to start here https://codex.wordpress.org/Customizing_the_Login_Form which discusses customizing the login form, and has info on the code file used therein. You will need to ‘hook’ into the login form using available hooks (also detailed at the above link). Also, my comment above: “Password history rules imply that you will need to save previous … Read more

How to change password

If you know your admin’s user name (or email address), then use that on the ‘lost password’ screen. Then click on the link in the email you will get to change it. BTW, a user called ‘admin’ is not really good practice. That is halfway to getting the credentials for your site, but some ‘rainbow … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)