-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Description
Which Umbraco version are you using?
16.3.4
Bug summary
Hi there,
We are currently migrating a project from v10 to v16, and I am running into a critical bug in the url redirect tracker.
The issue is that the redirect tracker does NOT include the domainRootId when writing to the database. In a multi site setup, where multiple domains are used, will this result in all original urls using the hostname of the CMS.
Please note that this wasn't an issue in v10.
Specifics
No response
Steps to reproduce
You can reproduce this issue by:
- Cloning the main branch of this repo
- Set UrlProviderMode to
Absolutein the development appsettings - Create a basic multi site setup as seen below (give both sites an original hostname)
- Publish all content
- Rename one of the content of a website
Expected result / actual result
Expected behaviour is that the original url should also contain the correct hostname:
The only way I made this work is by manually adding the domainRootId in the database entry
RedirectTrackingHandler.cs is the starting point for this
RedirectTracker.cs is where the redirect is created
Reactions are currently unavailable