URL rewrite XML

Posted Over 10 years ago. Visible to the public.

The following remaps services/view/index/url_key/param:

<global>
    <rewrite>
        <service>
            <from><![CDATA[#^/services/(.+)#]]></from>
            <to><![CDATA[services/view/index/url_key/$1/]]></to>
            <complete>1</complete>
        </service>
    </rewrite>
</global>

Complete tag:
if set to 1 magento will use the source layout handles otherwise it will use new layout handles associated with the rewrite.

Grumpy
Last edit
About 10 years ago
Posted by Grumpy to Magento (2013-10-01 09:22)