3

I'm seeing the error

the theme directory "twentyfifteen" does not exist

for the twentyfifteen theme after trying a WordPress subdirectory install for the first time.

enter image description here

I can access the admin panel ok at mysite.com/wp/wp-admin but the home page is blank (Not a WSOD 500 error but a 200 OK)

I've enabled WP_DEBUG but can't find anything useful in the logs. WordPress version is 4.1

UPDATE

I also have wp-content in the document root directory. My file structure looks like this

|-- composer.json
|-- composer.lock
|-- index.html
|-- index.php
|-- vendor
|-- wp
|-- wp-config.php
`-- wp-content
2
  • 1
    Make sure there is a theme "twentyfifteen" in mysite.com/wp/wp-content/themes folder.
    – Robert hue
    Jan 12, 2015 at 11:43
  • @Roberthue thanks I forgot to mention that I moved wp-content too :-/
    – codecowboy
    Jan 12, 2015 at 12:57

1 Answer 1

1

I had forgotten to define the location of wp-content in my wp-config.php :

define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/wp-content' );
define( 'WP_CONTENT_URL', 'http://'.$_SERVER['SERVER_NAME'].'/wp-content' );
define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '/wp-content/plugins' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.