Closed Andreas-Sommer-TUM closed 3 years ago
@Andreas-Sommer-TUM thanks, I'll take a look at it and merge asap
@Andreas-Sommer-TUM should be fixed with the latest commit https://github.com/wazum/sluggi/commit/e17453351c850261f94a2a6379cdff6b7f75bc12
At TUM, we encountered an issue having a mount point differing to the domain like "https://www.my-domain.tld/subpath-as-mount-point" will cause a faulty redirect.
Example MP: https://www.my-domain.tld/subpath-as-mount-point Slug: /bob New Slug: /alice Source Path: /subpath-as-mount-point/bob/subpath-as-mount-point/ Destination: /subpath-as-mount-point/alice/subpath-as-mount-point/
I added a simple fix by providing $basePath as MP.