# Multisite VS Multiple sites?

**URL:** https://discourse.roots.io/t/multisite-vs-multiple-sites/18254
**Category:** trellis
**Created:** 2020-05-14T09:38:13Z
**Posts:** 7
**Showing post:** 6 of 7

## Post 6 by @Andrew_Krzynowek — 2020-05-22T23:47:31Z

No, I have this filter in mu-plugins:

```
add_filter( 'upload_dir', function( $uploads ) {
	// append the constant SITEKEY to the uploads directory
	$uploads_path = 'uploads/' . SITEKEY;
	$basedir = WP_CONTENT_DIR . '/' . $uploads_path;
	$baseurl = WP_CONTENT_URL . '/' . $uploads_path;
	$subdir = $uploads['subdir'];
	$uploads['basedir'] = $basedir;
	$uploads['baseurl'] = $baseurl;
	$uploads['path'] = $basedir . $subdir;
	$uploads['url'] = $baseurl . $subdir;
	return $uploads;
} );
```

Where `SITEKEY` is a site specific key I set via the .env file.

---

_[View the full topic](https://discourse.roots.io/t/multisite-vs-multiple-sites/18254)._
