Closed
Description
Version
5.0.1
What did you expect to happen?
The visitor should be 301 redirected to the media itself:
https://example.com/mediafile > https://example.com/app/upload/2025/03/mediafile.pdf
What actually happens?
The visitor receives a 200 OK, with a blank page
Steps to reproduce
This only occurs on apache servers, I was not able to reproduce on nginx.
- Fresh install of bedrock, fresh install of sage 11
- Add
->withRouting(wordpress: true)
- Install website
- Upload media
- Visit media url ("View" button, not direct link to file)
System info
PHP 8.2
Apache server
Log output
Please confirm this isn't a support request.
Yes