Is there anyway to override the default front-name inside routes.xml and change it dynamically in the controller like setFrontName(%frontname%)
?
-
do want to change it by your self? like from configuration? – sudo55 Jan 15 '19 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 '19 at 23:30