CAn I move my affliates to a new site and keep the same links?

I need to move my site to another url. I have done 30 affiliate links and want to keep them the same is this possible?