Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
url_duplicate_message.phtml
Go to the documentation of this file.
1 <?php
8 $urls = $block->getData('urls');
9 ?>
10 <h4>
11 <?=$block->escapeHtml(__('The value specified in the URL Key field would generate a URL that already exists.')); ?>
12 </h4>
13 <p>
14 <?=$block->escapeHtml(
15  __(
16  'To resolve this conflict, you can either change the value of the URL Key field '
17  . '(located in the Search Engine Optimization section) to a unique value, or change the Request Path fields'
18  . ' in all locations listed below:'
19  )
20 );
21 ?>
22 <?php
23 if (!empty($urls)) {
24  foreach ($urls as $url => $urlTitle) {
25  ?>
26  <?='<p> - <a href="' . $block->escapeHtml($url) . '">' . $block->escapeHtml($urlTitle) . '</a></p>'; ?>
27  <?php
28  }
29 }
30 ?>
31 </p>
__()
Definition: __.php:13
$block
Definition: block.php:8