By Alaa Salama, Technical Support Engineer·Updated
On websites hosted at Pantheon servers, there is a configuration file at the root directory of WordPress called wp-config-pantheon.php. That’s the file where all your site’s database information is stored, and also these two parameters are configured there:
When this file gets cloned to the staging site’s directory, these two lines must be commented, as we already define them in the wp-config.php file with the correct value for the staging site.
So you will need to modify this file at the staging site’s directory wp-config-pantheon.php. Just add // in front of each line of the above, so they should be like:
I have spent more than a decade in the support field because I truly enjoy the human side of technology. Whether I’m solving a complex WordPress issue or developing custom plugins and code snippets to streamline workflows, my goal is always to reduce friction and help people work smarter. For me, there is nothing more rewarding than seeing a solution I’ve built make someone else’s day better.
When I’m offline, I’m usually still "under the hood" of something. I’m passionate about server optimization and DIY electronics, often spending my free time on smart home projects and hardware repairs. I especially value the time spent in my home workshop with my children; together, we tackle everything from household fixes to creative projects, fostering a love for building things that last.