定制 mslwk/module-xml-url-rewrites 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mslwk/module-xml-url-rewrites

最新稳定版本:1.1.0

Composer 安装命令:

composer require mslwk/module-xml-url-rewrites

包简介

Magento2 module creating URL rewrites using XML files

关键字:

README 文档

README

Latest Stable Version License Scrutinizer Code Quality Build Status Total Downloads

Magento 2 XML URL Rewrites module

The extension allows to create custom url rewrites in a Magento1-like way using XML files

Installation

Via Composer

To install the extension using Composer use the following commands:

 composer require mslwk/module-xml-url-rewrites
 php bin/magento module:enable MSlwk_XmlUrlRewrites
 php bin/magento setup:upgrade
From GitHub

You can download the extension directly from GitHub and put it inside app/code/MSlwk/XmlUrlRewrites directory. Then run the following commands:

 php bin/magento module:enable MSlwk_XmlUrlRewrites
 php bin/magento setup:upgrade

Usage

To create new rewrites add etc/url_rewrites.xml file to your module.

Example:

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:MSlwk_XmlUrlRewrites:etc/url_rewrites.xsd">
    <rewrites>
        <rewrite path="a/b/c" target="catalog/category/view" />
        <rewrite path="test" target="catalog/product/view" />
    </rewrites>
</config>

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

统计信息

  • 总下载量: 4.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-02