Back in Drupal 5, we were able to approach the building of a site structure-first. That is, we could build out a menu, even if we didn't have the content for the destination of each link in that menu.
A lot of people still think about building websites this way, and since things changed in D6 I've heard of a lot of silly work-arounds that people have come up with (adding all links to http://google.com or /node) so that they can still build their menus first.
Maybe there's a way we can remove the limitation that paths in menu items are valid, so we could allow this natural structure-first approach to website building again. If the issue is about broken links, perhaps these links with non-valid paths could remain *disabled* until the path becomes valid?
(Issue may be related to #308263: Allow privileged users to bypass the validation of menu items)
Comments
Comment #1
kpastore commentedThis is especially needed in a multisite in subdirectories setup. I have a multisite with example.com, example.com/africa, example.com/brazil, etc... as my sites. On the site example.com, I cannot create menu links to the subdirectories using "africa" and "brazil." I must use the full URL. This feature would help greatly.
Comment #2
klonos+1 for this. The path field should not be required at all and there should be a warning on save that there was no path entered if left empty or that the path entered is not valid if it points to non existing (yet) pages.
Comment #2.0
klonosforgot closing paren
Comment #15
danielvezaI've just tested this on Drupal 10.1 by creating a menu item with the path /fake-page and the menu link both created and rendered correctly with the incorrect link.
This issue hasn't had any updates in 10+ years and the issue appears to be resolved if I'm understanding it correctly. I'm marking this as closed. Feel free to reopen if there is alternate opinions.