Remove category base. randomly stops working

  • First, thank you for your amazing job with this plugin.

    Now, my issue is that sometimes the Remove category base option stop working which result in all product categories return 404. This has happened multiple times to two of my clients for the last 6 months. My clients are on different servers but run similar stack with Nginx (no apache). My clients only have the role shop_manager and have no access to settings. I’m the only administrator and since this always happen when I’m not doing any work on the sites it seems to not be related to core or plugin updates or maintenance.

    At first I thought it was related to Redis Object Cache or Redis Page Cache, but the issue keeps appearing even with all types of cache disabled.

    The issue is easily fixed temporarily by going to Rank Math > General Settings > WooCommerce and just click Save Changes. The Remove base and Remove category base options are already On but just not working properly. Unfortunately I haven’t had time to investigate any deeper since it’s always the client who find the issue first.

    Does anyone have any suggestion of what might be the cause of this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    It could be that your permalinks settings aren’t staying saved and require flushing permalinks.

    At this time, there are two solutions I can offer you.

    1. Flush rewrite rules when something changes on your website. Here are plenty of examples you can use in your particular use-case scenario.

    https://developer.wordpress.org/reference/functions/flush_rewrite_rules/

    2. You can disable the remove category base option in Rank Math and try using some other plugin. You will likely see the issue in that as well but at least you will rule out if the issue is really due to Rank Math or your server setup.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    2. I have not had this issue with any other plugin that remove the category base. I normally one of three plugins for this:

    • One I made myself
    • Permalink Manager for WooCommerce
    • RankMath

    Out of all WooCommerce sites I manage there are 10 sites I’ve removed the category base on, but only 2 have had these issues and it’s these 2 I used RankMath to remove category base on.

    The Remove Category Base feature in RankMath is what made me switch from SEO Framework in the first place.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello DJ,

    Thank you for your input.


    @Markus
    H. Please let us know if you are still facing this issue on your site.

    Else do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Remove category base. randomly stops working’ is closed to new replies.