Yeah, the redirect in the previous post should work fine -- be sure to put it before the friendly URL redirect. I wouldn’t advise doing a 301 redirect to any page of the form index.php?q=123 because that creates duplicate content.
I just ran into the same problem as the OP. Here's my solution that worked when I updated the .htaccess file:
Redirect 301 /texasroots https://www.example-site.com/index.php?id=260
I had been trying to put this in the .htaccess redirect, but it wasn't working:
Redirect 301 /texasroots https://www.example-site.com/texasroots.html
Once I changed the redirect to the MODX ID (instead of putting the .html URL alias in the redirect: texasroots.html), it then worked just fine.
Precision Web Development ... SmashStack.com