HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
How do I link a .pdf file to my website?
Post new topic   Reply to topic    HTML Help Forum -> HTML Tools
View previous topic :: View next topic  
Author Message
trisupply.org



Joined: 04 Oct 2005
Posts: 2
Location: Omaha, NE

PostPosted: Tue Oct 04, 2005 2:50 pm     How do I link a .pdf file to my website? Reply with quote

Please help me!! I am attempting to link a .pdf file to my website. The file is on Adobe and have a link built. But when I attempt to see if it was successful, I get HTTP STATUS 404 message.

What am I doing wrong or how do I correct this problem to make a .pdf file visible?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Tue Oct 04, 2005 4:32 pm     Reply with quote

It always helps to post your code. The code below assume the HTML file is in the root and the pdf file is located in a folder called pdfs
Code:
<a href="pdfs/filename.pdf">Click here</a>
- all you need to do is link directly to the file and the browser will do the rest
trisupply.org



Joined: 04 Oct 2005
Posts: 2
Location: Omaha, NE

PostPosted: Tue Oct 04, 2005 6:23 pm     Reply with quote

Thank you Corey, I will give that a try.
hertelbd



Joined: 03 Nov 2009
Posts: 1

PostPosted: Tue Nov 03, 2009 4:19 pm     Reply with quote

sorry to tag on, but what if the HTML file is not in the root?
charlieku



Joined: 24 Nov 2009
Posts: 1

PostPosted: Tue Nov 24, 2009 5:25 am     linking to pdf not in root Reply with quote

Corey Bryant wrote:
It always helps to post your code. The code below assume the HTML file is in the root and the pdf file is located in a folder called pdfs
Code:
<a href="pdfs/filename.pdf">Click here</a>
- all you need to do is link directly to the file and the browser will do the rest


My pdf is in store/download/ and my site is running from store/, not the root. The pdf is in store/download/. I used this code: <a href="download/biblestudyindex.pdf">Index</a>

Clicking the link take me to the correct url, but I get an Internal Server Error as follows: "The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmasteratclarionword.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

The problem is I am the webmaster Sad Any clue how to proceed would be greatly appreciated. Thanks
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> HTML Tools All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial