Cotton Rohrscheib

The Cotton Club Blog & Podcast

  • Home
  • About
    • Entrepreneurial Journey
  • Blog
    • Faith & Family
    • Marketing & Tech
    • Farm & Business
    • Entertainment
    • Health & Wellness
    • Urban Farming
    • Weekend Projects
  • Podcast
  • Newsletter
  • Media
    • Photo Galleries
    • Video Archives
  • Marketplace
    • Buying Gold & Silver
    • Accoutrements
      • Bags & Briefcases
      • Notebooks
      • Personal Carry
      • Wallets
    • Poshmark
    • Artwork
    • Banknotes & Currency
      • Currency
      • Gold Banknotes
      • Silver Certificates
    • Rare Books
    • Rare Coins
      • Coin Sets
      • Individual Coins
    • Signs & Advertising
    • Stock Certificates
    • Trading Cards
      • Trading Cards: Autographs
      • Trading Cards: Base
      • Trading Cards: Graded
      • Trading Cards: Raw
      • Trading Cards: Pokémon
      • Trading Cards: Sets
    • Vintage Toys
      • Buddy L
      • Ertl Farm Toys
      • GI Joe
      • Masters of the Universe
      • Hot Wheels
      • Lionel Trains
      • Lunch Boxes
      • Marx Toys
      • NASCAR Die-Cast
      • Schleich Toys
      • Star Wars
      • Tonka Trucks
  • Connect
You are here: Home / Marketing & Tech / Securing wp-config.php

Securing wp-config.php

June 25, 2011 by Cotton Rohrscheib Leave a Comment

For the past week or so, our server admin, Matt Critcher, and I have been battling the “pharma-hack” in several WordPress installations, this website included. Long story short, we still haven’t been able to completely eradicate this exploit but I feel like we are getting a lot closer. This afternoon Matt advised that I go through some of our exploited sites and secure the wp-config.php files by adding security keys to them. There is even a generator on the WordPress.org website that you can use to generate these keys…

The process is simple, just generate a new set of security keys and place them inside your existing wp-config.php file. The generated keys will look something like this:

<pre>define('AUTH_KEY',         't`DK%X:&gt;xy|e-Z(BXb/f(Ur`8#~Uz|');
define('SECURE_AUTH_KEY',  'D&amp;ovlU#|CvJ##uNq}bel+^MFtT&amp;.bj');
define('LOGGED_IN_KEY',    'MGKi8Br(&amp;{H*~&amp;0s;{fer[hOBk!ry^');
define('NONCE_KEY',        'FIsAsXJKL5ZlQo)iD-pt?aNwI|siOe');
define('AUTH_SALT',        '7T-!^i!0,w)L#JK@pcD;Vcy8,S)-&amp;G');
define('SECURE_AUTH_SALT', 'I6`V|mDZq21-J|ihb u=|n#=]@]c #');
define('LOGGED_IN_SALT',   'w&lt;$4c$Hmd%/*]`}qG(GaVDEsn,~*4i');
define('NONCE_SALT',       'a|#h{c5|P &amp;xp]t=]V&lt;`}.py(wTP%%');

What this will do is invalidate any existing cookies that might be out there. It’s obviously not the complete fix for the “pharma-hack” that I have been looking for but it only takes a second and could save you some potential heartache down the road from other exploits.

Filed Under: Marketing & Tech Tagged With: Wordpress™ Security, Wordpress™ Support

About Cotton Rohrscheib

The Cotton Club is a monthly podcast hosted by me, Cotton Rohrscheib. I'm a 52 year old entrepreneur w/ ADHD, OCD (and now AARP) that refuses to grow up as I grow old. I have collaborated and invested in hundreds of projects throughout my career in multiple industries such as; technology, healthcare, and agriculture. I also have 25 years experience in the marketing industry as a co-founder of an award-winning advertising agency. I will undoubtedly cover a wide variety of topics on my podcast while sharing some really crazy stories and situations that I've been fortunate to witness firsthand. I also have a book coming out in 2025 titled, "Mistakes were Made"

Leave a Reply Cancel reply

You must be logged in to post a comment.

  • Email
  • Facebook
  • Instagram
  • LinkedIn
  • Twitter

Recent Updates

  • Ep034: Cotton Rohrscheib & Tim Volberding
  • I Stay on Track w/ Reminders & Task Lists
  • It’s a Really Dry Start to the Season…
  • Trading Card Grading Services
  • Products Being Added…

Blog Categories

  • Blog (439)
  • Entertainment (378)
  • Faith & Family (155)
  • Farm & Business (302)
  • Health & Wellness (38)
  • Marketing & Tech (591)
  • Podcasts (33)
  • Urban Farming (24)
  • Weekend Projects (9)

Blog Archives

Join the Cotton Club!

 

Content Copyright © 2000-2026
Cotton Rohrscheib | Rohrscheib Capital
Disclaimer | Privacy Policy | Account Manager | View Cart

All opinions expressed on this website are 100% Cotton (see my disclaimer). All content, including text, images, and media, are the intellectual property of Rohrscheib Capital unless otherwise noted. To learn how we use your private information, checkout our privacy policy.