Tofngrs

Registered
Feb 13, 2013
2
0
1
cPanel Access Level
Website Owner
I have a download page on my website to give free pdf files to my visitors. I made a separate folder for said files and uploaded them via filezilla but my links do not work. All I get is "nothing found, error 404. any ideas.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Is the directory for the PDF files in the public_html directory, or in the account's home directory? It needs to be in the public_html directory to be accessible on the Web.

Also, double-check the paths in your page to make sure they point to the correct locations for the PDF files.

Your hosting provider should be able to help you with this.
 

Tofngrs

Registered
Feb 13, 2013
2
0
1
cPanel Access Level
Website Owner
I tried my hosting company but they couldn't help. I have several domains so I uploaded the file into the public_html/domainname The hosting company said the path was correct. I am kinda new to this stuff so I'm sure it is something I'm overlooking. I have tried putting the file into the wp_content folder and I have also tried making a seperate folder for the files.
I think I'll delete them all and start from scratch.
Should I upload to the particular website directory or just the general public_html directory
 

kdean

Well-Known Member
Oct 19, 2012
315
32
28
Orlando, FL
cPanel Access Level
Root Administrator
With a wp-content folder, it sounds like you have wordpress running your site. You should be able to upload pdfs into the media library in wordpress and it'll provided you with a link or you can insert the link into a page via the wordpress interface.

If you manually upload the files, it doesn't really matter where you upload them as long as the link matches where they are. Files uploaded into public_html like:

public_html/file.pdf
public_html/pdfs/file.pdf

would then be found in the browser at

/yourdomain.com/file.pdf
/yourdomain.com/pdfs/file.pdf