Local removes "define('AUTH_KEY', xxxxxx) from wp-config.php when adding new sites

Issue Summary

Lately i noticed that every time i add a new site to Local, the new install removes the auth keys from wp-config.php file. Using Mac Monterrey.

Troubleshooting Questions

What will happen if i re-install Local? ( in order to check if that will fix the issue) will i lose the previous local sites created?

  • Does this happen for all sites in Local, or just one in particular?
    It’s happening with every new local wordpress installation. All Local sites created previously have the auth keys on wp-config.php
  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Yes, i can create new sites and manually add the auth keys manually


Just click on the + sign to create a new site and check the wp-config.php the
" define( ‘AUTH_KEY’, ‘put your unique phrase here’ ); " is not there anymore.

System Details

iMac with Monterrey OS 12.3.1

  • Attach the Local Log. See this Help Doc for instructions on how to do so:

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

I just noticed the same behaviour. Because of this one of my plugins did not work out of the box. I had to generate and include the keys manually.

Is there any specific reason for this behaviour?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.