Encrypting Information Stored in WordPress Cookies

The another way to make your wordpress more secure is storing information with encryption in cookies. And to encrypt your information is quite simple process. Just open your wp-config.php files, and add the lines below to your wp-config.php. Save and upload it.

  1. define(‘AUTH_KEY’,‘Y(o[df%d9ly.iJ%t_4Xs:[4FBxg!IFzAE*z+|cf{E&+;Y|-C5gk`%?5kWc0yxe|]‘);
  2. define(‘SECURE_AUTH_KEY’,‘+^3@Y/rYC[tvk|vSw-We^-Wu&Gm:S9@-+fPr{?C$-Tl5[L6m0dPh#QUb');
  3. define('LOGGED_IN_KEY','v.0Rs-31^W UoAySn(ip4wjEjn])J1!@;oC1BT75[GoQK=WT`74tgh)SAMAiF)lf’);
  4. define(‘NONCE_KEY’,‘Fn2-XKd=Q{}<:,%Qk-|I-j)$%W+B(*0|eI,%)p=K_j2uxSHTFQvav|(vl},’);

1 Comment

  1. You are very interesting to write. Can you recommend any similar sites similar to yours?

Leave a Reply