# Second Site created breaks when created

**URL:** https://community.kinsta.com/t/second-site-created-breaks-when-created/2059
**Category:** Bug Reports
**Created:** [February 10, 2023, 5:18pm UTC](https://community.kinsta.com/t/second-site-created-breaks-when-created/2059 "2023-02-10T17:18:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![monofrio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/monofrio/32/2577_2.png) [@monofrio](https://community.kinsta.com/u/monofrio)
#### Post date: [February 10, 2023, 5:18pm UTC](https://community.kinsta.com/t/second-site-created-breaks-when-created/2059/1 "2023-02-10T17:18:17Z")

</div>

**Q: Date/Time this occurred (Provide your time zone also)**  
\*\*A: Feb 10, 2023 11:30am EST \*\*

**Q: DevKinsta Version**  
**A: Version 2.9.0 (2.9.0.6039)**

**Q: OS Version**  
**A: 12.6**

**Q: Docker Desktop Version**  
**A: 3.6.0 (3.6.0.5487)**

**Q: Were any error codes or messages observed? If so, what were they?**  
**A: Error: W[31;1mError:[0m Strange wp-config.php file: wp-settings.php is not loaded directly.**

**Q: Detailed Description of the Problem**  
\*\*A: I wanted to flag that this happened when pulling down the site a second time. it dumps a bunch of links into the wp-config.php file instead of setting the wp-config correctly. \*\*

 ![5b65e7e4-21d0-47f3-b1e3-c657cc46e202](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/60903ddce9c9ca3baf70e5457c435318670ef78e.jpeg)  
 ![Screen Shot 2023-02-10 at 12.12.54 PM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/f/f77586fd506ea7b214f79ae5850ac85ed4aaaeb5.jpeg)

---

<div class="post-metadata">

### Author: ![ZachE](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/zache/32/1683_2.png) [@ZachE](https://community.kinsta.com/u/ZachE)
#### Post date: [February 10, 2023, 7:27pm UTC](https://community.kinsta.com/t/second-site-created-breaks-when-created/2059/2 "2023-02-10T19:27:43Z")

</div>

Hi @monofrio 👋

I’ve replied in a private message, as it appears to be related to the configuration of your environment, and as such may contain sensitive information.

Please acknowledge receipt of the message here, and if your reply also contains sensitive information, feel free to DM further in response.

Best regards,  
Zach  
Kinsta Support

---

<div class="post-metadata">

### Author: ![ZachE](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/zache/32/1683_2.png) [@ZachE](https://community.kinsta.com/u/ZachE)
#### Post date: [February 14, 2023, 4:48pm UTC](https://community.kinsta.com/t/second-site-created-breaks-when-created/2059/3 "2023-02-14T16:48:05Z")

</div>

The reported issue appears to be resolved after disabling security plugins and removing custom PHP code from the wp-config.php file, before re-cloning to DevKinsta.
