About Aliases

Contentstack allows you to assign aliases to any branch of your stack. An alias acts as a pointer to a specific branch.

Aliases offer another way to refer to a specific branch within your frontend application code. Define a target branch for your alias and avoid the hassle of making heavy changes to your code. You can point the alias to a different target branch, whenever required, so that the application renders content to your website from the specified branch.

For example, your stack may have a "production" alias that points to the "go-live" branch. To render content from a different branch whenever you plan to go live with a new set of changes, simply point the new target branch to the existing alias.

You can manage your stack's aliases under the Aliases section:

About_Alias.png

Additional Resource: For more information about using branches and aliases in your stack, read our Branches Real-world Scenarios document.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^