Putting 301 redirects in place for every page or file name that's changing in a transition from an old to new site is how you tell search engines what's new and how to handle the old. Over time, they'll eventually remove the old links from their index and replace them with the updated ones. This is how you hold your ground when it comes to maintaining search rankings.