Hello,
To set the status of a URL containing "?" to 410 using Rank Math, you can follow these steps:
-
Enable the Redirection Module: Navigate to Rank Math SEO → Dashboard and enable the Redirection module if it’s not already enabled. You can refer to this screenshot for guidance:

-
Access Redirections: After enabling the Redirections module, go to the Redirections section under the Rank Math SEO menu. Click on the Add New button at the top of the page. Here is a visual reference:

-
Configure the Redirection: In the Redirections page, you will see an option to add the URLs you want to set to the 410 status code in the Source URLs field. Paste the URL containing "?" that you want to set to 410 status code. Skip the Destination URL and Redirection Type options, move directly to the Maintenance Code option, and click on the 410 Content Deleted button.
-
Save Changes: Set any additional configurations like category, status, and activation schedule as needed. Once you are satisfied with the settings, scroll down to the bottom of the page and click on the Add Redirection button to save your changes.
By following these steps, you can effectively set the status of a URL containing "?" to 410 using Rank Math. If you encounter any issues or need further assistance, feel free to ask for help.
I hope this helps! Let me know if you have any more questions or need additional information.
Sources:
How to Set 410 Status Code in Bulk for WordPress » Rank Math
I have a lot of URLs like this: https://www.asianda.com/?s=%E6%AD%A6%E6%B1%89%E5%90%8C%E5%9F%8E%E4%B8%8A%E9%97%A8%E7%89%B9%E6%AE%8A%E6%9C%8D%E5%8A%A1+%E5%BE%AE19198 8640+%E7%94%B5%E5%BE%AE%E5%90%8C%E6%AD%A5135-0740-7163%E9%A1%B6%E7%BA%A7%E8%B5%84%E6%BA%90-%E5%BF%AB%E9%80%9F%E5%AE%89%E6%8E%926
How can I block all similar URLs at once?
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
We’ve already replied to your previous ticket on this issue. Please refer to this ticket:
https://support.rankmath.com/ticket/i-want-to-know-if-my-problem-can-be-solved-by-purchasing-the-upgraded-plugin/?view=all
We are closing this ticket to avoid duplicate replies.
Looking forward to helping you there.
Thank you.