# Allow excluding uploads directory when pulling remote sites

**URL:** https://community.localwp.com/t/allow-excluding-uploads-directory-when-pulling-remote-sites/51382
**Category:** Feature requests
**Created:** [September 18, 2025, 5:06pm UTC](https://community.localwp.com/t/allow-excluding-uploads-directory-when-pulling-remote-sites/51382 "2025-09-18T17:06:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![daljo628](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/daljo628/32/24861_2.png) [@daljo628](https://community.localwp.com/u/daljo628)
#### Post date: [September 18, 2025, 5:06pm UTC](https://community.localwp.com/t/allow-excluding-uploads-directory-when-pulling-remote-sites/51382/1 "2025-09-18T17:06:06Z")

</div>

Some sites have a _lot_ of uploads. And to do development changes it’s not always necessary to have them all download.

So allow folks to pull the code down, but skip uploads – potentially even proxying it so requests for media from the upload directory will get http redirected to the environment that it was pulled from.

This could turn an hour long pull into a much much shorter option, and not get it people’s ways when they want to connect to a client site.

> <https://x.com/daljo628/status/1966933426482679819>

---

<div class="post-metadata">

### Author: ![daljo628](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/daljo628/32/24861_2.png) [@daljo628](https://community.localwp.com/u/daljo628)
#### Post date: [September 18, 2025, 5:32pm UTC](https://community.localwp.com/t/allow-excluding-uploads-directory-when-pulling-remote-sites/51382/2 "2025-09-18T17:32:49Z")

</div>

I suppose this could mostly be addressed by adding `wp-content/uploads` to `.wpe-push-ignore` and `.wpe-pull-ignore` by default, but I don’t see any options to preload those before doing the first pull.

---

<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: [September 18, 2025, 5:38pm UTC](https://community.localwp.com/t/allow-excluding-uploads-directory-when-pulling-remote-sites/51382/3 "2025-09-18T17:38:03Z")

</div>

I think you could accomplish the same @daljo628 if you create a new, blank site first and then go to the Pull tab in the bottom right corner and use MagicSync to deselect Uploads from the site you want to pull over top of it.

 ![Zight 2025-09-18 at 12.35.55 PM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/e/fe8e9ddcd74afba1e180475a4c94555b6f1a6529.jpeg)

---

<div class="post-metadata">

### Author: ![daljo628](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/daljo628/32/24861_2.png) [@daljo628](https://community.localwp.com/u/daljo628)
#### Post date: [September 18, 2025, 7:30pm UTC](https://community.localwp.com/t/allow-excluding-uploads-directory-when-pulling-remote-sites/51382/4 "2025-09-18T19:30:45Z")

</div>

Interesting, thanks for the suggestion! It feels kinda kludgy though, versus the main way of pulling down sites, but I get it.

I wonder if it’d be doable via an add-on, and also integrate Bill Erickson’s [GitHub - billerickson/BE-Media-from-Production: Uses local media when it's available, and uses the production server for rest.](https://github.com/billerickson/be-media-from-production)

---

<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: [September 19, 2025, 2:17pm UTC](https://community.localwp.com/t/allow-excluding-uploads-directory-when-pulling-remote-sites/51382/5 "2025-09-19T14:17:06Z")

</div>

You’re right, it’s definitely some extra steps @daljo628! I’ve passed your request along to the Local Dev team to get some more eyes on it. Thank you for sharing!
