when i change Add Store Code to Urls to yes at

system > web > url options in admin panel,

all the routing to my controller is not works. returns 404 error page. how to resolve this?

有帮助吗?

解决方案

append your store code like this

http://example.com/storeCode/frontName/controllerName/actionName/

here the storeCode is what you set in the admin panel under system > manage stores

许可以下: CC-BY-SA归因
scroll top