It seems that there cannot be a mixture of dir layouts

Either pages are in named subfolders or they are at the root