• Our clients website is running very slowly and the server keeps crashing daily so I thought I would try installing cache plugins such as W3 Total Cache to speed up the page load, but it just caused a 500 internal server error.

    I had to then manually remove the plugin and any links/files/code it had created. I then tried the .htaccess caching and it brought up the same error.

    Why is caching causing my site to crash and is there any way to fix this? (granito.co.id)

    Any guidance would be great as this issue is causing the client to lose in google ranking.

    Thanks
    Mairead

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

    Please refer suggestions provided by Frederick Townes in following thread:

    https://wordpress.org/support/topic/plugin-w3-total-cache-500-internal-server-error?replies=40

    Thanks,

    Thread Starter marketmeau

    (@marketmeau)

    Thanks for the feedback but its not the solution I was looking for. Its not just the W3 Total Cache plugin that causes the 500 error but any changes to the .htaccess file in relation to cache.

    This is the code I added to the .htaccess file

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType text/html “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType text/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 1 month”
    </IfModule>
    ## EXPIRES CACHING ##

    I want to be able to speed up the site without it giving me a 500 error everytime. Do you have any idea why I am receiving this error?

    Moderator t-p

    (@t-p)

    – Your first step should be checking your site’s error logs for a more specific error message. If you need help locating them, ask your hosting provider to help you with that.

    Thread Starter marketmeau

    (@marketmeau)

    I do not have access to the error log so will ask my provider and update you. Thanks

    Moderator t-p

    (@t-p)

    Also discuss the error with the provider if logs show any specific error,

    Thread Starter marketmeau

    (@marketmeau)

    The host sent me the log.txt file. I don’t think this is the error log though as I cannot find anywhere were it says an error occurred.

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

The topic ‘Enabling caching causes 500 error’ is closed to new replies.