Migrate Custom Type on Live Page

Howdy folks!

I'm looking to get some advice. I have a custom type representing a page located at /about. I want to build a new page using a different custom type to replace the first one but obviously the two cannot have the same id. I'm thinking the only way to do the swap would be to archive the first page to free up the id, then publish the new page in a second release but I'm hoping there's another way I just haven't considered as this way will introduce a few minutes where that page will 404 while the site rebuilds.

Hi @jc.lunardini ,

Two different custom types can actually have the same UID. UIDs are unique to the custom type. So you'll only need to update your code and you won't have any downtime. :slight_smile:

Thanks.