🇮🇳India Vj
I am facing same issue here is the patch which fixed it for me
🇮🇳India Vj
smustgrave → credited Vj → .
🇮🇳India Vj
My issue is related to redirect from domain.com to domain.com/home. Which is happening due to $this->pathMatcher->isFrontPage() in src/EventSubscriber/RouteNormalizerRequestSubscriber.php returns false on frontpage.
Steps to reproduce.
- Install Drupal & redirect module.
- Create node with url alias "home" & set default home page to "home" admin/config/system/site-information
- Export config using drush cex
- front: /node/1 in system.site.yml
- Go to homepage domain.com it stays on domain.com
- Change front: /home in system.site.yml & run drush cim
- Go to homepage domain.com it redirects to domain.com/home
Its more of core bug which fails to detect frontpage with above steps hence redirect module fails for me.