Editing Product Categories Affects Permalinks

#57243
  • Resolved Anonymous
    Rank Math free

    Hello,

    I have noticed that if I add a new woocommerce product category, all the other product category pages return a page not found until I save the parmalinks. I think this is related to the fact that I use RM to for slug settings.

    Is there something that can be done to solve this issue?

    Regards,
    George.

    • This topic was modified 5 years, 2 months ago by .
Viewing 15 replies - 1 through 15 (of 19 total)
  • Hello,

    Thank you for contacting Rank Math today.

    I cannot replicate this on my installation.

    Could you please attempt the same with only Rank math and Woocommerce activated, please follow this troubleshooting guide: https://rankmath.com/kb/check-plugin-conflicts/

    Looking forward to helping you. Thank you.

    Anonymous
    Rank Math free

    Hello,

    I have tried troubleshooting for plugin conflict and there was none.This is what I have done:

    I deactivated all pluigins except RM and Woocommerce, I then added a new product category. Immediately, all product categories started returning “page not found’. When I saved the permalinks, the product category pages went back to normal.

    Important note : I am using “Remove category base” feature in RM. Could that be the issue?

    Regards,
    George.

    Alberto
    Rank Math business

    Hello,

    Just to be sure, could you check disabling “Remove category base” feature and recheck if everything is working then?

    If that is the case, we would have found the issue and we would know what to fix in your case.

    Looking forward to help you.

    Anonymous
    Rank Math free

    Hello,

    I figured that disabling the “Strip Category Base” feature under the links tab seems to get everything working.That is in the links tab, not in woocommerce tab actually.

    Not sure if that feature is supposed to affect product categories (I thought it is for posts), but it sure seems to be doing so.

    Regards

    Alberto
    Rank Math business

    Hello,

    I will notify the developers to check it. Thank you for letting us know.

    Looking forward to help you.

    Hello,

    I couldn’t reproduce this issue on my setup. Can you please add your site’s login details in the Sensitive Data Section?

    Looking forward to helping you.

    Anonymous
    Rank Math free

    Hello Pratik,

    Thanks for writing back. Since we have now decided to Remove parent slugs for product categories, the issue is no more, thanks.

    While we are here, how can we set the old urls (with parent slugs) to redirect to new urls automatically ? At the moment, from the SERPs, the urls are still going to the old urls and hence showing a 404.

    Looking forward to your help.

    Regards.

    Hello,

    Thank you for contacting Rank Math today.

    You can enable Rank math automatic post redirection by navigating to Rank math > General settings > Redirections

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

    Anonymous
    Rank Math free

    Hello,

    Got it. Thanks.

    Can that be achieved for ordinary pages, that is, remove the parent page slug?

    Regards.

    Alberto
    Rank Math business

    Hello,

    Yes, it should. Could you let us know in the Sensitive Data section a sample of the URL and also which part of the slug would you like to remove?

    Looking forward to help you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Alberto
    Rank Math business

    Hello,

    So then, if I understand it well, you want to remove “pet-services” from the URL? Or “pet-services” and “pet-adoption-services”. Sorry for asking all those details but I want to be sure to understand it well before giving any recommendation.

    Looking forward to help you.

    Anonymous
    Rank Math free

    Hi, sorry for the late reply.

    I want to remove the part “/pet-services/pet-adoption-services/” , that is, make every page’s full url not have the parent pages slug. I hope you understand. Another example; if I have domain.com/planets/continents/countries/ , I would like to have just domain.com/countries/ while still keeping countries as a child page of continents and planets.

    Regards,
    George.

    Alberto
    Rank Math business

    Hello,

    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.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    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 15 replies - 1 through 15 (of 19 total)

The ticket ‘Editing Product Categories Affects Permalinks’ is closed to new replies.