0

I have a custom controller page :

http://dev.test/myfrontend/ 

The above works fine. also the bellow one works

http://dev.test/myfrontend/index/index/ 

Now if I add query string:

http://dev.test/myfrontend/index/index/viewid/2 

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 ?

Thanks

1 Answer 1

0
  • Go to marketing > url rewrite > add url rewrite
  • under request path adding myfrontend/viewid
  • under target path add myfrontend/index/index/viewid
1
  • 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 Commented Nov 1, 2018 at 13:52

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.