Skip to content

Commit 7ef13e1

Browse files
committed
ACP2E-2481: Category Canonical URLs not working
1 parent bc1c7ba commit 7ef13e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/Model/Category.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ public function getUrl()
615615
UrlRewrite::ENTITY_ID => $this->getId(),
616616
UrlRewrite::ENTITY_TYPE => CategoryUrlRewriteGenerator::ENTITY_TYPE,
617617
UrlRewrite::STORE_ID => $this->getStoreId(),
618+
UrlRewrite::REDIRECT_TYPE => 0
618619
]
619620
);
620621
if ($rewrite) {

0 commit comments

Comments
 (0)