I have over 2000+ posts with the following URL structure site.com/ID/POST-TITLE I need to redirect each post to site.com/post.php?id=ID If someone could shed some light on this I will greatly appreciate it.