Forums

[resolved] Moved the WP-Content to new location and got problem with themes (2 posts)

  1. vbk100
    Member
    Posted 9 months ago #

    I wanted to move the 'wp-content' directory to a new folder following the guide at Moving Wp-content. I could able to access plugins directory with out any problem as I used the wp_content_dir in addition with WP_CONTENT_DIR' .

    These are the constraints I used

    define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/wp-content' );
    define( 'WP_CONTENT_URL', 'http://example/blog/wp-content');
    
    define( 'WP_PLUGIN_DIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/wp-content/plugins' );
    define( 'WP_PLUGIN_URL', 'http://example/blog/wp-content/plugins');

    Now I got a problem with themes. I could not able to access themes and unable to install new ones using theme repository.

    Could any one help me to solve the theme access issue?

  2. vbk100
    Member
    Posted 7 months ago #

    Got it working

    I had to change the directive for wpcontent . It is working fine now

Reply

You must log in to post.

About this Topic