Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific file URLs #155

Open
jbmoelker opened this issue Jun 11, 2024 · 1 comment · May be fixed by #224
Open

Specific file URLs #155

jbmoelker opened this issue Jun 11, 2024 · 1 comment · May be fixed by #224

Comments

@jbmoelker
Copy link
Member

User story

As a content editor,
I want to be able to make uploaded files available under specific URLs,
so these files are where other software expects them
and so when I migrate an existing site to Head Start, existing file URLs can be maintained.

@jbmoelker
Copy link
Member Author

#205 will most likely close the previous attempt in #147. The parts still usable from #147 for this feature are the things related to file.slug: model fields, computed title, logic to construct href etc. The thing that needs a new working implementation is catching / proxying custom file urls. I think this can be achieved by extending our new redirects middleware.

jbmoelker added a commit that referenced this issue Dec 7, 2024
@jbmoelker jbmoelker linked a pull request Dec 7, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant