Redirect for API pages.

- Old API urls go to corresponding new API urls.
- New API urls that 404 go to api search.