system.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  9. <system>
  10. <section id="catalog">
  11. <group id="seo">
  12. <label>Search Engine Optimization</label>
  13. <field id="category_url_suffix" translate="label comment" type="text" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  14. <label>Category URL Suffix</label>
  15. <backend_model>Magento\Catalog\Model\System\Config\Backend\Catalog\Url\Rewrite\Suffix</backend_model>
  16. <comment>You need to refresh the cache.</comment>
  17. </field>
  18. <field id="product_url_suffix" translate="label comment" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  19. <label>Product URL Suffix</label>
  20. <backend_model>Magento\Catalog\Model\System\Config\Backend\Catalog\Url\Rewrite\Suffix</backend_model>
  21. <comment>You need to refresh the cache.</comment>
  22. </field>
  23. <field id="product_use_categories" translate="label" type="select" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  24. <label>Use Categories Path for Product URLs</label>
  25. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  26. </field>
  27. <field id="save_rewrites_history" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  28. <label>Create Permanent Redirect for URLs if URL Key Changed</label>
  29. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  30. </field>
  31. </group>
  32. </section>
  33. </system>
  34. </config>