Change all *.php URLs to do proper redirects