I have to change 702 url redirect but can i do it automatically so that i can only set the last -m2 to none?
Hello,
Thank you for contacting Rank Math and bringing your concern to our attention.
Upon changing the permalinks of your products, WordPress should automatically redirect the previous URLs to the new ones.
However, if that’s not happening on your site, you can use this regex redirect to remove the -m2 in the URLs of your products:
Source URL: (.*)-m2
Destination URL: https://mysite/$1
Hope that helps.
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.