creating and synchronizing redirects using Usyc pu...
# help-with-umbraco
k
I am working on a umbraco 13 project which is configured for multisite. I'm trying to determine the best way to configure redirects. The project is using Usyc publisher to push content between QA, Stage and Production. I've experimented with a few packages that allow you to create redirects within an environment but have not been able to synchronize those redirects from one environment to another. Is there is there a method in place to do this? Or doI need to create custom functionality to synchronize between environments?
k
Hi, In theory you don't need to syncronize the redirects (and you might not want to) because Umbraco will pick up redirect as an when the content is published. e.g if you rename a page on stage, the local stage redirect will be created by umbraco but when you publish it to live then Umbraco will once again create the redirect for you. this can be a good thing, because if you rename a page multiple times on stage, and then only publish it once to live the live site will have the single redirect that is the change and not all the intermidiate steps (that where never live). e.g change a page from page -> page local to -> page published stage will look like this
and that is because "page-local" was never live, so doesn't need a redirect to exist.
---
if you are using some other redirect manager , then yes at the moment we don't have any of them as sync handlers/serializers but if we did (or you wrote one 😉 ) then they could be synced as part of the content or settings.
9 Views