We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4f6cd2 + 555d8a1 commit 434cd3eCopy full SHA for 434cd3e
Controller/Router.php
@@ -179,6 +179,11 @@ public function match(\Magento\Framework\App\RequestInterface $request)
179
$pathInfo[2] = $pathInfo[1];
180
$pathInfo[1] = Url::CONTROLLER_CATEGORY;
181
}
182
+ } elseif (count($pathInfo) > 1) {
183
+ if ($postId = $this->_getPostId(implode('/', $pathInfo))) {
184
+ $pathInfo[2] = implode('/', $pathInfo);
185
+ $pathInfo[1] = Url::CONTROLLER_POST;
186
+ }
187
188
189
break;
0 commit comments