# Broken Theme Directory

**URL:** https://discourse.roots.io/t/broken-theme-directory/1210
**Category:** bedrock
**Created:** 2014-02-08T22:05:41Z
**Posts:** 9

## Post 1 by @emaildano — 2014-02-08T22:05:41Z

I’ve setup two sites using Bedrock so far and only ran into an issue with the second one.

I cloned the roots repo into the themes folder under `app/themes` but when I activate the theme and visit the home page, none of the links are correct.

The path to the css and js files are off but I don’t know how to correct them. For example here’s what I get in the browser:

`http://localhost/app/themes/...`

instead of

`http://localhost/dev/wp/wp-content/themes//twentyeleven/style.css`

---

## Post 2 by @swalkinshaw — 2014-02-08T23:51:02Z

> [@emaildano](#):
>
> [http://localhost/app/themes/](http://localhost/app/themes/)…

I’m confused. If you’re using Roots under `app/themes` then your asset paths SHOULD be `http://localhost/app/themes/...`.

Why would you want the twentyeleven assets if you’re using Roots? Unless I’m missing something…

---

## Post 3 by @emaildano — 2014-02-08T23:58:18Z

@swalkinshaw, that’s the path I get when checking those files in Chrome dev tools. It doesn’t take on the path of the sites home page so those resources aren’t loading, unlike activating one of the default themes.

![](https://discourse.roots.io/uploads/default/46/1106b76c1791214e.png)

Sorry! This is only my second Bedrock install. I’ll be watching your screencast on monday.

---

## Post 4 by @swalkinshaw — 2014-02-09T00:24:35Z

Please post a screenshot of your Chrome dev tools console so we can actually see what the paths/errors are for these files.

---

## Post 5 by @emaildano — 2014-02-09T00:34:01Z

Here’s two screenshots, switching between the roots theme and the 2013 Wordpress theme.

![](https://discourse.roots.io/uploads/default/47/cdf9c2bf3ac165f9.png) ![](https://discourse.roots.io/uploads/default/48/932de0ccaa344919.png)

---

## Post 6 by @swalkinshaw — 2014-02-09T02:26:45Z

We’re thinking this might be an issue with Bedrock and subdirectory installs. This thread has a similar setup and maybe the same problem: [Deploying to DigitalOcean LAMP stack Ubuntu 12.04](http://discourse.roots.io/t/deploying-to-digitalocean-lamp-stack-ubuntu-12-04/1203/)

---

## Post 7 by @emaildano — 2014-02-09T03:03:28Z

Sounds about right. Moving the theme folder into `wp/wp-content/themes` resolved the issue for now. Any fixes or suggestions are appreciated.

Thanks!

---

## Post 8 by @Foxaii — 2014-02-09T16:30:11Z

I haven’t been able to replicate this and have managed a Bedrock install at both **localhost/wordpress/** and **localhost/wordpress/dev** without any issues.

I would guess that the WP\_CONTENT\_DIR is being set incorrectly, which is defined [here](https://github.com/roots/bedrock/blob/master/config/application.php#L22-L27). Also note where the `$root_dir` variable is set near the top.

If you troubleshoot some of those defines we may have something more to go on.

---

## Post 9 by @michel — 2014-02-13T21:58:21Z

@emaildano When using roots theme with bedrock you need to make sure you disable the rewrites feature, move roots back to `app/themes/` directory then open `app/themes/roots/lib/config.php` and you will need to remove or comment this out:

```
//add_theme_support('rewrites');
```

cheers,
