• Hello,

    I am new to creating websites and WordPress but I am pushing my way through by using Google.

    Recently I installed a fresh WP setup and installed W3 Total Cache. As soon as I go to the General settings, I get 500 Interal Error, I tried to change Page cache from Disk Enhanced to simple one but it wont let me do that too. I tried every solution I got from google, but none helped me.

    So I am wondering now if there is a way to install and configure W3 Total Cache without crashing my website?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Shaansh,

    This is most likely related to your .htaccess file. Would you be able to post a copy of this here?

    Kind regards
    Jamie

    Thread Starter shaansh

    (@shaansh)

    Hello Jamie, thank you for replying. My .htaccess content is

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]# BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
    </IfModule>
    # END W3TC Browser Cache

    Hi shaansh,

    Thank you for that, I can see a few things that could cause the 500 error your seeing.

    What happens if you upload a clean (blank) .htaccess file?

    Kind regards
    Jamie
    —–
    Pipe Ten Support Team

    Thread Starter shaansh

    (@shaansh)

    Hi shaansh,

    Thank you for that, I can see a few things that could cause the 500 error your seeing.

    What happens if you upload a clean (blank) .htaccess file?

    Kind regards
    Jamie
    —–
    Pipe Ten Support Team

    1st of all, thanks again for replying. Secondly,what do you mean by clean .htaccess? If I upload the .htaccess with the code below, the website works perfectly okay, i.e no 500 Internal error.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    However, trying to access W3TC setting just makes my site crash again.

    EDIT: I didnt see the keyword “blank”. I tried uploading blank .htaccess file too. It works fine as well (i.e no 500 Internal server error)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: W3 Total Cache] Using W3TC on multisite without getting 500 error’ is closed to new replies.