My project url is:

```
localhost/foldername/main(classname)/showmenu(methodname)/different_slugs // (e.g home,aboutus etc)

```

How to short this url to:

```
localhost/foldername/different_slugs //(e.g home,aboutus etc)

```