Forum Discussion

DavidKasl's avatar
DavidKasl
Copper Contributor
Sep 17, 2021

SharePoint 2019 - ShortcutLink.aspx redirects to default zone url

Consider this:
SHP web app with two zones:
Default zone - default.myonpremsharepoint.int
Intranet zone - intranet.myonpremsharepoint.int

 

Create document library in modern team site.

Add link pointing to other site (eg.: https://intranet.myonpremsharepoint.int/sites/somesite2) to that document library. 

Link gets "translated" by SHP to something like this:
https://intranet.myonpremsharepoint.int/sites/somesite1/_layouts/15/ShortcutLink.aspx?siteid=[guid]&webid=[guid]
If the link is pointing to the same site, everything works just fine. If the link points to other site, like in the example mentioned above, user gets redirected to the correct site, but using the default zone url.

 

In this example, that would be https://default.myonpremsharepoint.int/sites/somesite2 instead of https://intranet.myonpremsharepoint.int/sites/somesite2 

SHP Patch level: September 2021

2 Replies

Resources