Automatic redirection of deleted WooCommerce products

  • Hi there! Loving the full-on functions of Rank Math so far. I have a software that automatically adds and deletes products in my WooCommerce site (Datafeedr – my website is an affiliate-site). I was therefore wondering if I can set up your redirection manager to automatically redirect deleted products to my home page?

    The adding and deletion of products happens periodically, and I have no way of setting a time for it.

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

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    You could set up to redirect all the 404 errors automatically to the homepage, so all the products, once deleted will have a 404 error page that will redirect to your homepage. Is it fine for you?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi Alberto, yes, I would like to set up 301-redirects automatically for all products that are deleted.

    As I wrote earlier, I have a software that automatically adds and deletes products for me, so I need these deleted products to be automatically redirected to the front page – where users can find and search for other or similar products.

    So, could you write me a step-by-step instruction as to how I can set up automatic redirects for deleted products in WooCommerce with RankMath? I won’t be able to set up manually for every deleted product, as there’s going to be many.

    Thanks! 🙂

    Hello,

    The deleted product would usually result to 404 page not found. To redirect this to homepage instead, just head over to Rank math > General Settings > Redirects and set the fallback behavior as Homepage.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Thanks! Excellent customer support – and great plugin!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Automatic redirection of deleted WooCommerce products’ is closed to new replies.