I am moving from 2013 with DXA 1.2 to 8.5 with DXA 1.7 with Topology Manager based publishing.
In my old application, following used to be my Url for LIVE and STAGING.
We use the same domain for LIVE and STAGING and are only differentiated by the context (LIVE vs. STAGING). Within SDL Tridion content manager, we use /channel/ as the publication path and URL.
To keep the URLs consistent, we implemented the UrlRewrite.Net module and use the delete-element per the link to remove the first path element (LIVE OR STAGING).
So the urlPath passed to DXA 1.2 /channel/sg/pagename.htm irrespective of LIVE or STAGING configuration. I have about 200,000 items being published with the above configuration. Given the volume of items, I intend to use Convert-TcmPublishStates script to map the old publication target to the newly created one to avoid republishing of content.
In the TPM way of resolution, we are seeing a couple of TPM options available to us. We have made the publication URL blank in the CME. Dumb from Get-TtmMapping is below.
EnvironmentPurpose : LIVE WebApplicationId : myChannelApp RelativeUrl : / PrimaryMappedUrl : https://mydomain:8080/LIVE/channel
The problem is that /LIVE/channel is being added BPT mapped to the publication. Since I intend NOT to republish the items, any old items published to the broker are NOT coming up fine. In the CM side, I noticed that URL is a read-only attribute. Is it advisable to change the URL in Tridion CM side to match my broker settings? Any recommendations?
EnvironmentPurpose : LIVE WebApplicationId : myChannelApp RelativeUrl : / PrimaryMappedUrl : https://mydomain:8080/channel
The web application is working perfectly once the settings are re-published. The only problem is that the "View on Site" within the CME is broken. The URL from the CME would be https://mydomain/channel instead of https://mydomain/LIVE/channel. I would have to use the above delete-element rule with this configuration.
See below a sample dump from our broker database.
Feedback is appreciated!
Update: Since we use different ports for LIVE and STAGING, we will setup 2 discovery services with our capabilities. We tested XPM and it is working as expected!