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 96faea7 commit 2a8979aCopy full SHA for 2a8979a
app/code/Magento/CmsUrlRewrite/Observer/ProcessUrlRewriteSavingObserver.php
@@ -44,7 +44,10 @@ public function execute(EventObserver $observer)
44
/** @var $cmsPage \Magento\Cms\Model\Page */
45
$cmsPage = $observer->getEvent()->getObject();
46
47
- if ($cmsPage->dataHasChangedFor('identifier') || $cmsPage->dataHasChangedFor('store_id')) {
+ if ($cmsPage->dataHasChangedFor('identifier')
48
+ || $cmsPage->dataHasChangedFor('store_id')
49
+ || $cmsPage->getData('rewrites_update_force')
50
+ ) {
51
$urls = $this->cmsPageUrlRewriteGenerator->generate($cmsPage);
52
53
$this->urlPersist->deleteByData([
0 commit comments