---
title: "Page URLs and page contentIds"
canonical: "https://support.appfire.com/space/CPCL/1170866213/Page%20URLs%20and%20page%20contentIds"
format: markdown
---
> Macro (aura-html)


> Macro (excerpt)
> 
> #### Page URLs and page contentIds
> 
> An important aspect is that during the publishing action from the **source **space to a **target** space, a page link to another page in the source space is updated on the published target space page to the destination page in the target space (if published).
> 
> The published page link URL is changed to
> 
> - the target space key (by the Comala Publishing app)
> - the link destination page **contentId** in the target space (by Confluence Cloud)
> 
> **Original page URL in the source space**
> 
> - /wiki/spaces/<span style="color: #0747a6">**PROD**</span>/pages/<span style="color: #0747a6">**2438561796**</span>/Product+Team+Ethos
> 
> **Published page URL in the target space**
> 
> - /wiki/spaces/<span style="color: #403294">**DEV**</span>/pages/<span style="color: #403294">**2438693479**</span>/Product+Team+Ethos
> 
> **Published page URL in the target space with new contentId**
> 
> - /wiki/spaces/<span style="color: #0747a6">**PROD**</span>/pages/<span style="color: #0747a6">**2438823986**</span>/Product+Team+Ethos
> 
> If the destination page for the link has not yet been published, the target space page in-page link points to the unpublished source space page.
> 
> A link to another space, an external site, or a short link is not updated on publishing and syncing the source space page. For further details, see [Publishing and syncing a page with in-page links](https://appfire.atlassian.net/wiki/spaces/CPCL/pages/1286602822)