I have a custom controller page :


The above works fine. also the bellow one works


Now if I add query string:


this loads the page fine and I can get parameters fine

But if I load like the this:

http://dev.test/myfrontend/viewid/2 // It fail Miserably goes 404

This should work without adding /index/index !

Does anyone have nay idea ?


  • Go to marketing > url rewrite > add url rewrite
  • under request path adding myfrontend/viewid
  • under target path add myfrontend/index/index/viewid
  • Thanks but that's not what I looking for I should mention the the viewid is dinamic so it can any anything like ../banana/3 – Juliano Vargas Nov 1 '18 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.