The website changes the domain name, and then there is a year, month and day in the url. After changing the domain name, the year, month and day is removed. How to rewrite the pseudo-static rules?

for example, my previous url is http://www.111.com/mwxx/2015/...
the path of the file generated after the domain name change and revision of the website has been removed. That is, http://www.222.com/mwxx/2417....
server environment how to write this pseudo-static rule is to access http://www.111.com/mwxx/2015/.... It will jump to http://www.222.com/mwxx/2417....
and tag has also changed, such as
http://www.111.com/tag/abc how to jump to http://www.222.com/tag/abc
Thank you for the answer. Thank you

Jun.27,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e442df-43044.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e442df-43044.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?