cancel
Showing results for 
Search instead for 
Did you mean: 

Possibility of a short route with address bar of the browser

0 Kudos

Possibility of a short route with address bar of the browser

Feature request from 12th, posted on GitHub Feb 22, 2014

Hello. I apologize in advance if this functionality is. I would like to make a suggestion on the routes. It is very lacking in the short address with address bar of your browser. Now addressing Magenta works of principle: http:// domain.com / module / controller / action http:// domain.com / checkout / cart / updatePost It would be great if had the opportunity to register routes for specific modules, as is done, for example, in the framework Kohana:

Route::set('default', '(controller(/action(/id)))') ->defaults(array( 'controller' => 'welcome', 'action' => 'index', ));

Route::set('cart', 'cart(/param1)') ->defaults(array( 'directory' => 'checkoutDirectory', 'controller' => 'cartController', 'action' => 'indexAction', ));

PS: example is slightly modified in order to convey the essence

And then when you click on the address: http:// domain.com / cart

working out the controller http:// domain.com / checkout / cart / index

5 Comments
New Member
Status changed to: Investigating
 
New Member

Comment from IvanChepurnyi, posted on GitHub Feb 26, 2014

Similar thing was already done as a community module: https://github.com/magento-hackathon/Hackathon_CustomUrls

New Member

Comment from verklov, posted on GitHub Apr 01, 2014

@12th, Thank you for the idea! We have created an issue in the product backlog. We will get back to you once we complete the analysis.

New Member

Comment from vpelipenko, posted on GitHub Jan 29, 2015

Internal ticket: MAGETWO-23155

New Member

Comment from piotrekkaminski, posted on GitHub May 10, 2016

This proposal is currently not our priority. It was added to the backlog. Similar functionality can be achieved with server rewrites if needed.