1

How can I remove the controller name from the URL when I access the index function of that controller?

This is my root :-

www.abc.com/sample/dev/

This is the controller name :-

home

Therefore :- If www.abc.com/sample/dev/home is the url, then it should become www.abc.com/sample/dev/. Also, how can I remove the index.php from this url :-

www.abc.com/sample/dev/index.php,

so that it becomes

www.abc.com/sample/dev/

as well.

A J
  • 3,970
  • 14
  • 38
  • 53

0 Answers0