• Resolved fabsberry

    (@fabsberry)


    Hello,

    I want to rename the “wp-content” to “content”. Even after I cleared the cache it seems to have problems (It looks like there are problems with the CSS files). When I deactivate LSCache everything is fine.

    Can I use LSCache with a renamed wp-content folder?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    May I know how did you change it from wp-content to content ?

    Best regards,

    Thread Starter fabsberry

    (@fabsberry)

    I added the following lines to the wp-config file:

    define (‘WP_CONTENT_FOLDERNAME’, ‘content’);

    define (‘WP_CONTENT_DIR’, ABSPATH . WP_CONTENT_FOLDERNAME) ;
    define(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);
    define(‘WP_CONTENT_URL’, WP_SITEURL . WP_CONTENT_FOLDERNAME);

    When I disable css + js minify it works 🙁

    • This reply was modified 5 years, 12 months ago by fabsberry.
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please try add following into wp-config.php ?

    define ('LITESPEED_STATIC_DIR', '/real/path/to/your/wp-content/litespeed');
    define ('LITESPEED_STATIC_URL', '//example.com/wp-content/litespeed');

    Best regards,

    Thread Starter fabsberry

    (@fabsberry)

    Thank you!
    Now it works 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Rename WP-Content’ is closed to new replies.