Drupal allows me to create a relative menu link to a node: node/154
Drupal does not allow me to create a relative menu link to a file: /intranet/sites/default/files/file.pdf
The path '/intranet/sites/default/files/file.pdf' is either invalid or you do not have access to it.

Comments

bradweikel’s picture

Note the description of that field: "This can be an internal Drupal path such as node/add or an external URL such as http://drupal.org"

Files, even those attached through Drupal, still do not have internal paths to my knowledge, so at least it is consistent with the documentation. I imagine there are sufficient underlying complications that the best answer you get will be "use a fully qualified URL" or "work around it in your theme"

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.

shdwlynx’s picture

Version: 6.10 » 7.x-dev
Issue summary: View changes
Status: Closed (outdated) » Active

This is still an issue in 7.x (and possibly newer versions, although I have not tested them).

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.