I'm in the process of migrating an 'old' website into WordPress the does not use 'friendly permalinks'.
Presently the page URL's read like '.../index.php?article=0058280".
How can I retain the legacy URL's for old imported posts (there are over 50k entries presently indexed by Google), but use friendly URL's for all future posts.