Skip to main content

404 Error in WooCommerce

When testing the PO RoundTrip, WooCommerce gives a 404 error.

Updated over 10 months ago

The 404 error in WooCommerce can occur due to various reasons, but the most common cause is a corrupt .htaccess file. Fortunately, there’s a straightforward fix for this issue:

  1. If you can still log in to the WordPress backend:

    • Go to Settings > Permalinks.

    • Click “Save” at the bottom of the page (no need to change anything).

    • Flush the cache for good measure.

    • Verify if the issue is resolved.

      WooCommerce - 404 error message

  2. If you can’t log in to the WordPress backend:

    • Access your hosting dashboard and log in.

    • Navigate to the “file manager” section (the exact location may vary depending on your WooCommerce host).

    • Make a copy of the existing .htaccess file.

    • Rename the old .htaccess file (e.g., to .htaccess1).

    • Copy and paste a default WordPress .htaccess file into the new .htaccess file.

    • Save the new .htaccess file.

    • If possible, flush the cache from the hosting dashboard.

    • Verify if the issue is resolved.

Remember to test thoroughly after making any changes.

Did this answer your question?