I have moved to discourse (hosted on DigitalOcean) from vbulletin forum long back, however Google Search Console shows thousands of broken links of the following formats.
member.php?xxxx-xxxx
showthread.php?xxxx-xxxx/xxxx
I want to redirect all queries having member.php and showthread.php to discourse home page.
How can I do so?