Forums

How can I change my theme directory? (4 posts)

  1. ClintonLee83
    Member
    Posted 3 months ago #

    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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

  3. ClintonLee83
    Member
    Posted 3 months ago #

    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');

  4. ClintonLee83
    Member
    Posted 2 months ago #

    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');

Reply

You must log in to post.

About this Topic