404 error on Woocommerce category after updates, clear cache, add new & ???

#100184
  • Resolved Shpr
    free

    We have been experiencing ‘random’ 404 errors on our Woocommerce since adding RankMath. We are not sure exactly what causes them, but re-saving permalinks (settings -> permalinks) seems to fix the problem.

    However, we do not know when there is a problem until someone tells us or we visit ourselves. 🙁

    We think it happens when cache is purged, a new category is added &/or other updates (such as adding/updating plugins, woocommerce settings etc) but we cannot pinpoint exactly. It’s really frustrating and concerning.

    Some Relevant Settings:

    * Rank Math > General settings > Redirections: Auto post redirect = ON
    * Rank Math > Links > Strip category base = OFF
    * Rank Math > Woocommerce > Remove base = OFF
    * Rank Math > Woocommerce > Remove category base = ON
    * Rank Math > Woocommerce > Remove parent slugs = OFF
    * Settings > Permalinks > Common settings: = Custom Structure – /%category%/%postname%/

Viewing 4 replies - 16 through 19 (of 19 total)
  • htaccess (broken time)
    —-
    #This Apache config file was created by Duplicator Installer on 2020-11-28 18:35:23.
    #The original can be found in archived file with the name .htaccess__[HASH]

    # BEGIN WordPress
    # Директивы (строки) между BEGIN WordPress и END WordPress
    # созданы автоматически и подлежат изменению только через фильтры WordPress.
    # Сделанные вручную изменения между этими маркерами будут перезаписаны.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    —————
    after re-save woocommerce rewrite (/wp-admin/admin.php?page=rank-math-options-general)
    htaccess – not changed.

    Any other idea to fix error?

    I found one of causing the error. Whenever you updating product category slug or product slug, error is happen. When you return it to old slug, it’s gone.

    DELETED

    Hello,

    Please open a separate ticket for your issues.

    We are closing this ticket because the OP no longer needs help.

Viewing 4 replies - 16 through 19 (of 19 total)

The ticket ‘404 error on Woocommerce category after updates, clear cache, add new & ???’ is closed to new replies.