I've built a members-only site and want to link to some files stored there using the text editor. I stored the files in a directory I built under wp-content/uploads. I think the correct URL would be /home/USER/html/wp-content/uploads/dir-name/file-name.pdf , but that is returning a 404 error. If I use a URL with a path to a different website containing the file, it works fine. Any idea what I'm doing wrong?
Thanks for responding. I did try that, but it still failed. If I just pasted the link I had saved into a new browser window, it would work. But I would still get a 404 failure from within the page where I had the link embedded.
But, with a big shout-out to Austin in tech support, I found that I was making it too complex. Instead of adding a directory and files via SFTP and then trying to link to them, I could just add files individually using the add Media button. This is working fine and meets my needs. Not sure why I hadn't tried it earlier.