• Resolved fcoulloudon

    (@fcoulloudon)


    We have a staging server to test.

    We have 404 erros when W3TC is modifying the .htaccess file. We need to kill the pod and start from an image from scratch. The website is stable without W3TC activated.

    Is anyone in the team can come to understand if/how the cache is impacting anything?
    Should we remote it completely and re-install it?

    Regards

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

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

    (@vmarko)

    Hello @fcoulloudon

    Thank you for reaching out and I am happy to help!

    Please try to manually remove and re-install W3 Total Cache and let me know if it works vanilla version

    1. Check .htaccess File (make backup)
      W3TC will create many directives in .htaccess file to control the caching behavior. Each section will start and end with comments like “#BEGIN W3TC Page Cache core” and “#END W3TC Page Cache core”.
      Ensure that no residual entries are left over in your .htaccess file after deleting the plugin.
    2. Delete wp-content files and folders
    • cache folder
    • w3tc-config folder
    • object-cache.php (if exists)
    • advanced-cache.php (if exists)
    • db.php (if exists)
    • upgrade folder
    • delete w3-total-cache folder in wp-content/plugins/ (if exists)
    1. Delete Cached Files from CDN (if using CDN)
      Besides deleting all the relevant files, if you use CDN then ensure to purge the cached content from your CDN. This is necessary when you enabled minify option in W3TC settings. You should delete the minified and combined scripts and CSS files from your CDN server to avoid the site breaking on the browser.
    2. Go to your wp dashboard and re-install W3 Total Cache

    Let me know if this helps!

    Thanks!

    Thread Starter fcoulloudon

    (@fcoulloudon)

    OK thanks, will try and keep you informed.

    Thread Starter fcoulloudon

    (@fcoulloudon)

    @vmarko, it still doesn’t work.

    After clearing cache, it craches again.
    We can duplicate this problem in staging environment.

    Are you interested in digging more this problem?

    Thank you!

    Regards,
    Francois

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @fcoulloudon

    Can you please share where the website is hosted and which platform is used?
    I can see you have some custor rules for gzip and security policy

    DO you have any duplicate rules in the .htaccess?

    THanks!

    Thread Starter fcoulloudon

    (@fcoulloudon)

    Hi @vmarko
    https://teeptrak.com

    There is no .htaccess until W3TC creates it. Now W3TC is deactivated. I don’t know if you work in // as a freelancer, but finding an hour together would greatly help to diagnose this issue.

    Regards,
    Francois

    Thread Starter fcoulloudon

    (@fcoulloudon)

    OK.

    Now everything is working except the WebP option.
    Any idea why this option would make the website go kapout?

    All the other cache options seem to be OK.

    How to find why the WebP compression generates an error.

    Regards,
    Francois

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

The topic ‘404 errors when .hta is created/modified under Bitnami WordPress image’ is closed to new replies.