Home › Forums › Front-end Issues › File download URL incorrect. Cannot download uploaded file. › Reply To: File download URL incorrect. Cannot download uploaded file.
Right, so what I have done is created a blank WP site. Added ACF, and in my theme page added <a href="<?php the_field('gallery_file'); ?>" >Download File</a>
where “gallery_file” is the name of the test field.
This has worked 100% as expected when a refreshed the page so now I am trying to figure out what I have done wrong with my other project.
Is it possible that by setting the “wp-content/uploads” to use a different folder by using define( 'UPLOADS', ''.'files' );
I have effectively changed all the paths on a permanent basis and if that is the case, how do I undo this so that it points back to “wp-content/uploads”
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.