# Wp-config & WPEngine

**URL:** <https://community.localwp.com/t/wp-config-wpengine/49965>\
**Category:** Support\
**Tags:** wp-config\
**Created:** [May 1, 2025, 10:14am UTC](https://community.localwp.com/t/wp-config-wpengine/49965 "2025-05-01T10:14:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![richhowell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/richhowell/32/24200_2.png) [@richhowell](https://community.localwp.com/u/richhowell)\
**Post date:** [May 1, 2025, 10:14am UTC](https://community.localwp.com/t/wp-config-wpengine/49965/1 "2025-05-01T10:14:30Z")

</div>

Hello,

I have a question about the **wp-config.php** file, if I edit this locally, what happens when I then publish to a WPEngine enviroment? Does local leave the config file behind?

I have made some changes locally to the WP-Config file that I don’t want replicated upstream so just wanted to make sure local doesn’t push or pull that file.

Cheers

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [May 1, 2025, 1:33pm UTC](https://community.localwp.com/t/wp-config-wpengine/49965/2 "2025-05-01T13:33:36Z")

</div>

Great question @richhowell! wp-config.php is one of our automatic path exclusions during the Local Connect sync. You can see the full list here:

> **[Local Connect](https://localwp.com/help-docs/local-features/local-connect/#path-exclusions)**
>
> The Local Connect feature helps you move a site between Local and your remote hosting provider (WP Engine or Flywheel). Pulling a site down to Local allows you to quickly create a sandbox for…

---

<div class="post-metadata">

**Author:** ![richhowell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/richhowell/32/24200_2.png) [@richhowell](https://community.localwp.com/u/richhowell)\
**Post date:** [May 1, 2025, 1:45pm UTC](https://community.localwp.com/t/wp-config-wpengine/49965/3 "2025-05-01T13:45:31Z")

</div>

Perfect thankyou - that link is also super useful. Cheers.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [May 1, 2025, 1:52pm UTC](https://community.localwp.com/t/wp-config-wpengine/49965/4 "2025-05-01T13:52:29Z")

</div>

Glad to hear it @richhowell! If you have any other questions or concerns don’t hesitate to reach back out. We are always happy to help! 💚

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [May 3, 2025, 1:53am UTC](https://community.localwp.com/t/wp-config-wpengine/49965/5 "2025-05-03T01:53:05Z")

</div>

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