Is it possible to "transfer" a slug without loosing SEO?

Hello,

I had important modification to do on one page (mysite.com/companies) so I duplicated it and I worked on the second one (mysite.com/companiestest).

Now I would like to publish the duplicated page in place of the orignal one with the good slug (mysite.com/companies) without loosing SEO.

My question : Can I do that ? Or is there another way to replace the content of the first page by the content of the second one ?

Thanks !

Whether the new page would rank the same is weighted heavily by on-page factors. You have to take that into consideration.

The approach I use is to simply rename the slugs when it is time to flip out an old page with a new one. Works for me.

I did that. Thank you !