Hello,
Thank you for contacting us and I am very happy to assist you.
If you have a list of URLs you want to redirect to a 410, simply add them to your clipboard and paste them into the box at WordPress Dashboard > Rank Math > Redirections > Add New. Rank Math will create a new field with each URL.
Here’s a GIF for reference:

The above GIF is showing that we tried importing 3000 dummy URLs for testing purposes. You see the error towards the end because the URLs aren’t valid, obviously. Please give it a try with your actual URLs and let us know how it goes.
Feel free to reply back anytime if you require further assistance.
Happy to help!
Cheers,
Thanks for your reply, but I am looking for a solution like this:
https://support.rankmath.com/ticket/redirecting-all-pages-with-html-extensions/
But this thread is for post and not for pages.
Unfortunately the link with the setting from Michael isn’t available anymore. Can you please help me with the settings and something like a wildcard?
Cheers,
Esther
Hello,
Thank you for the update.
The regex redirect in the link you shared should work to all of your posts and pages. Please update the Destination URL to your domain like this:
Destination URL: https://www.geregistreerdpartners.nl/$1
Upon further checking, it seems that the .html URL is still working. I’m assuming that these .html pages are still present in your site’s root directory.
If you have already set up all the redirects for those pages, you can simply delete (at least rename) the .html pages present in your site’s root directory for the redirects to work.
I hope that helps.
Thank you, and looking forward to your update.
Thanks Reinelle! This works perfect!
I filled in (.*)html$ in the source URLs, selected regex and filled in the destination url.
Cheers!
Esther
Hello,
We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.
If you don’t mind us 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 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.