• Resolved dplusgomes

    (@hospvetsantamarinha)


    Hi Autoptimize team,

    I found this solution for Autoptimize 404 erros (googlebot) after cache cleaning.

    “Put something like this (warning: untested) in wp-content/cache/autoptimize/.htaccess:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule (.*) “-” [G,NC]
    </IfModule>”

    Can you tell me if this solution was already tested and working?
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    I think so, but can’t say for sure. To be clear; all this does is change the response code from 404 (not found) to 410 (gone), this does not make the files “rise from the dead” ??

    Thread Starter dplusgomes

    (@hospvetsantamarinha)

    I’ll test it!
    Thank you! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Autoptimize 404 erros’ is closed to new replies.