• Resolved vbk100

    (@vbk100)


    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', 'https://example/blog/wp-content');
    
    define( 'WP_PLUGIN_DIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/wp-content/plugins' );
    define( 'WP_PLUGIN_URL', 'https://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?

Viewing 1 replies (of 1 total)
  • Thread Starter vbk100

    (@vbk100)

    Got it working

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

Viewing 1 replies (of 1 total)
  • The topic ‘Moved the WP-Content to new location and got problem with themes’ is closed to new replies.