When creating item urls, you can use the menupath as a setting on the template.
But how do you define what is the root level?
As a default, the first item in the root is hidden. So if you have your menu placed in a folder called "Main menu" in root, "main-menu" will not ble included in the urls. But what if you have a website with a bigger structure?
You can define that the menupath-value should remove another menu level, or include the root-level item. The settings is placed under Systemsettings > Advanced > Remove root folders from menupath.
Value 0: Don't remove anything
Value 1 (default): Remove first level
Value 2: Remove second level