WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: W3 Total Cache] Default /nginx.conf location

[Resolved] [Plugin: W3 Total Cache] Default /nginx.conf location

Viewing 10 replies - 1 through 10 (of 10 total)
  • You don’t have to put it on a particular location. W3 Total Cache automatically puts it in WP_HOME (from what I know). You also don’t have to change it to 777. But, you should include this file’s physical location in your site’s Nginx configuration and then reload (or restart) the Nginx server to apply the changes in the Nginx configuration.

    spencerlim
    Member

    @spencerlim

    No, it doesn’t solve the issue. i was created one file in my /var/www/domain/nginx.conf
    and include the line “include /var/www/domain/nginx.conf;” in available site config. restarted the nginx but the problem still there..

    but the problem still there..

    May I know what that problem is?

    spencerlim
    Member

    @spencerlim

    Disk enhanced page caching is not active. To enable it, add the following rules into the server configuration file (/nginx.conf) of the site above the WordPress directives . Or if permission allow this can be done automatically, by clicking here: .

    Disk enhanced page caching is not active. To enable it, add the following rules into the server configuration file (/nginx.conf) of the site . This can be done automatically, by clicking here: .

    Browser caching is not active. To enable it, add the following rules into the server configuration file (/nginx.conf) of the site . Or if permission allow this can be done automatically, by clicking here: .

    Okay, try adding those rules directly into the your site’s main Nginx configuration file. Please make sure they are at the top of the location blocks. For example…

    server {
      server_name domain.com;
      root /path/to/wordpress;
    
      # W3 Total Cache rewrites to be written here
    
      location ~ \.php$ {
        # directives to process PHP
      }
    
      location / {
        try_files $uri $uri/ /index.php;
      }
    
    }

    I hope this helps.

    spencerlim
    Member

    @spencerlim

    it still couldn’t be solve, Thx anyway.

    Plugin Author Frederick Townes
    Member

    @fredericktownes

    Would you like professional support @spencerlim?

    spencerlim
    Member

    @spencerlim

    No, Thx. it’s too expansive and overprice. i just want to know how to fix it. because i got multiple wordpress having the same problem. Thx

    Plugin Author Frederick Townes
    Member

    @fredericktownes

    Price is relative. I’m not trying to sell you something, but it’s not trivial to investigate your issue without more information. Good luck

    spencerlim
    Member

    @spencerlim

    May we discuss further in email ? Thx
    spencerlim@itechspark.com

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] [Plugin: W3 Total Cache] Default /nginx.conf location’ is closed to new replies.