Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Can't make link to local file work

Started by Muut Archive 12 years ago · 1 replies · 461 views
12 years ago

I have a file in the folder for a blog entry. So I have a blog page folder News containing a folder Meeting containing an item.md file and some .docx file. When I reference the docx file i.e. [file](file.docx) I get Not Found with an URL consisting of the website base URL followed by /News/Meeting/file.docx, i.e. the path without user/pages/ or number prefixes.

Obviously, when I add /user/pages into the URL and 01. before News the file is indeed found.
What am I doing wrong?

(Until now I've put all files into a global folder (images). That works fine, but isn't maintainable.)

12 years ago

Support for generic page file handling (similar to how images are handled) is not complete yet. I suggest using the global folder approach for now until we can get this functionality added.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago