Custom URLs Editor

Print

Custom URLs Editor

Allows to customize your non-catalog URLs, so you can create your own URLs in english or any other languages. If you wanna customize your catalog URLs, use the Magento Administration page of Catalog->URL Rewrite Management.

This extension provides the menu at System->Configuration->Advanced->System->Custom URLs Editor where you can edit as many URL Rewrite RUles as you want.

For example, this 4 rules will create /shopping-cart, /thank-you and /order respecting all sub urls (the last rule is needed to handle those links that just call /checkout and depending on the content of the cart, will end up in /checkout/onepage or /checkout/cart):
- original: /checkout/cart custom: /shopping-cart
- original: /checkout/onepage/success custom: /thank-you
- original: /checkout/onepage custom: /order
- original: /checkout custom: /order

Or to avoid collisions with other partial urls, if you wanna use already defined urls, use regular expressions with zero-width negative lookahead assertions, but still with just one marked subexpression. This two rules will create /shopping-cart and /checkout respecting all sub urls without colliding (because together could end up in a wrong /checkout/onepage/cart url):
- original: /checkout/cart$1 custom: #^\/shopping-cart(.*)#
- original: /checkout/onepage$1 custom: #^\/checkout((?!\/cart).*)#

See the screenshot for a working example in a production site.

Remember to fush the cache after each modification.