Support » Themes and Templates » How can I change my theme directory?

  • I’m a newbie –

    I cloned my wordpress site (http://www.youtube.com/watch?v=WvMf7G0s7dU) but the source of my theme is still coming from the original wordpress blog. How can I change the theme directory so that my new blog looks inside its own theme directory instead of the old directory?

    I went into my wp-config.php and added:
    define( ‘WP_CONTENT_DIR’,’http://www.cloned-blog.com/wp-content’);

    but I get an error when viewing my site:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /hermes/bosweb/web258/b2584/ipg.thedailydoodadcom/clintsmoneybox/wp-config.php on line 94

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ClintonLee83

    (@clintonlee83)

    Thank you esmi, I’ve gone over the Moving WordPress page and I am still having the same problems, my new website is looking for the themes in the old directory. I’m so confused and frustrated.

    this is the end of my wp-config.php.

    */

    /** Absolute path to

    the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’,

    dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    define(

    ‘WP_HOME’,’http://www.clintsmoneybox.com’);
    define(

    ‘WP_SITEURL’,’http://www.clintsmoneybox.com’);
    /** set location of content dir */
    define(‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘clintsmoneybox/wp-content’);
    define(‘WP_CONTENT_URL’, ‘http://www.clintsmoneybox.com/wp-content’);

    Thread Starter ClintonLee83

    (@clintonlee83)

    Still having trouble.

    Is this correct? I’m new with this. Site is still looking in the wrong location for the wp-content after pasting this at the end of the wp-config.

    /** set location of content dir */
    define(‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘clintsmoneybox/wp-content’);
    define(‘WP_CONTENT_URL’, ‘http://www.clintsmoneybox.com/wp-content’);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I change my theme directory?’ is closed to new replies.