Remove modular slugs from url

Is it possible to remove the modular page slugs from url: portfolio/_newest/trainioRedesign > portfolio/trainioRedesign

What’s the page structure? trainioRedesign is a child of a modular child (_newest)?

Screen Shot 2015-12-18 at 13

Yes, it is in _newest folder

childs of modular pages should live under /portfolio. Because _newest is not really a full page, but a part of the portfolio page. So, put trainioRedesign on the same level as the modular childs, not under one of them.

I do understand, but then oi will loose this “category” functionality. Or is it possible to achieve this devision differently?

Taxonomy is independent on the folder structure, see http://learn.getgrav.org/content/taxonomy

Thank you, will learn.