InMotion Hosting Support Center

Can't figure out how to create link to .pdf on site

Category: Website

2014-08-21 5:21 pm EST

Hits: 82
I have a .pdf I want to link to from one page of my website, and following the instructions from another answer to a post in the support section, I created a subfolder in my public_html folder, and put the .pdf there. I've tried creating the link using the path suggested (example: http://domainname/pdf/file.pdf). When that didn't work, I inserted the public_html into the path, but that didn't work either. I'm probably missing something obvious, but I can't figure out what it is!

You must login before you can ask a follow up question.

You must login before you can submit an answer.



40,371 Points
2014-08-21 5:36 pm EST
Hello Lisa,

Sorry for the confusion. I checked your site and the PDF file and it opens for me. One thing you should do is to make sure that the file name is capitalized correctly. I noticed that the file name is a mix of capital and lower case letters. If one of those is wrong in your path referencing the file, it won't open. Browsers associate PDF files with whatever program is set to open it (on your local computer), so it should open automatically. The file path should be something like this:

We also have a tutorial that you can reference here: How to add a PDF file in your website.

Hope that helps!

Arnel C.

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!