• Resolved Saket Jajodia

    (@dzire2dzine)


    Mutisite WooCom setup.. With file structure like:
    /public_html/index.php
    /public_html/.htaccess (wp genrated)
    /public_html/robots.txt
    /public_html/favicon.ico
    /public_html/wp/wp-admin
    /public_html/wp/wp-content
    /public_html/wp/wp-includes
    /public_html/wp/index.php
    /public_html/wp/[ALL WP FILES]

    I am confused if I should enable this option or not?

    [ ] Fix document root path
    Fix incorrect server document root path. Uses the WordPress ABSPATH ("/home/**/public_html/wp") in place of the current server document root ("/home/**/public_html").

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dzire2dzine

    Thank you for reaching out and Ia m happy to help!
    Please check more about this option in the link below:
    https://www.boldgrid.com/support/w3-total-cache/general-settings-miscellaneous/

    Enabling this setting instructs W3 Total Cache to use the absolute path when resolving paths for files within your WordPress installation. By default, when using the “disk” or “disk enhanced” engines for various features, W3TC will use the server document root which may not resolve correctly if files/folders are symbolically linked from alternate locations in the server’s filesystem.

    If you have any issues with minification for exable or writing the .htaccess file, this option should be enabled

    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dzire2dzine

    Please let me know if you can see the previous reply!

    Thanks!

    Thread Starter Saket Jajodia

    (@dzire2dzine)

    Hi @vmarko, Yes, thanks I will test it

    Thread Starter Saket Jajodia

    (@dzire2dzine)

    Every time I Purge All Caches from network admin dashboard, I start getting these errors, is it related?

    [03-Apr-2025 12:43:41 UTC] PHP Warning: opendir(/home/***/public_html/wp/wp-content/cache/db/7/singletables//955/7c0): Failed to open directory: No such file or directory in /home/***/public_html/wp/wp-content/plugins/w3-total-cache/Util_File.php on line 133
    [03-Apr-2025 12:43:42 UTC] PHP Warning: opendir(/home/***/public_html/wp/wp-content/cache/db/7/singletables//b72/c48): Failed to open directory: No such file or directory in /home/***/public_html/wp/wp-content/plugins/w3-total-cache/Util_File.php on line 133
    [03-Apr-2025 12:43:42 UTC] PHP Warning: opendir(/home/***/public_html/wp/wp-content/cache/db/7/remaining//542/cfa): Failed to open directory: No such file or directory in /home/***/public_html/wp/wp-content/plugins/w3-total-cache/Util_File.php on line 133
    [03-Apr-2025 12:43:42 UTC] PHP Warning: opendir(/home/***/public_html/wp/wp-content/cache/db/7/remaining//9ac/d60): Failed to open directory: No such file or directory in /home/***/public_html/wp/wp-content/plugins/w3-total-cache/Util_File.php on line 133
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dzire2dzine

    Thank you for your feedback.
    It seems that you are using Disk for DB Caching which is not recommended. I would advise to manually delete the /wp-content/cache/db/ folder, and do not use DB Caching if the only available caching method is DIsk. Please check with your hosting provider if you can use Redis or Memcached as those are recommended caching engines for DB caching and Object Caching

    Thanks!

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

The topic ‘Fix document root path’ is closed to new replies.