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.
1 parent 29aae58 commit b19ff8eCopy full SHA for b19ff8e
Controller/Post/View.php
@@ -45,6 +45,7 @@ public function execute()
45
{
46
if (!$this->moduleEnabled()) {
47
$resultRedirect = $this->resultRedirectFactory->create();
48
+ $resultRedirect->setHttpResponseCode(301);
49
$resultRedirect->setPath($this->url->getBaseUrl());
50
return $resultRedirect;
51
}
@@ -53,6 +54,7 @@ public function execute()
53
54
55
if (!$post) {
56
57
58
59
60
0 commit comments