1

Is there anyway to override the default front-name inside routes.xml and change it dynamically in the controller like setFrontName(%frontname%)?

2
  • do want to change it by your self? like from configuration?
    – sudo55
    Jan 15, 2019 at 22:09
  • Nono change it dynamically, for example like the "add store code to url" when I have site.com/storecode here I want to change the frontname in storecode dynamically
    – xdev
    Jan 15, 2019 at 23:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.