Web Hosting Talk







View Full Version : QUESTION: PDF as INDEX.HTML


abrandt
11-04-2006, 12:53 AM
Hello Forum:

I have a quick question as someone with rudimentary HTML skills.

I would like a PDF file to temporarily serve as an INDEX.html file.

I was told this can be accomplished by forwarding an HTML page to a PDF file.

Would the following be correct syntax?


<head>
<title>resume</title>
<meta http-equiv="refresh" content="0;url=httpppppp://no-credit-check.us/resume.pdf">
</head>

</body>
</html>

(without the extra ppppp's, of course)


Thank you in advance for a prompt and detailed response!

Alan :)

bluedreamer
11-04-2006, 08:31 AM
You could do this but it's not very user friendly. A better way would be to make a simple home page with a short description about what the site is about with a link where the user can choose to download the PDF.

mwatkins
11-04-2006, 11:59 AM
Unless you are building a site in a controlled enviornment where you know for certain that every user will have Acrobat Reader installed... don't do it.

Do as bluedreamer suggested - provide a link, and ideally put a notice that its a pdf file and provide a second link to the free Reader for download (in case they do not have it).

abrandt
11-04-2006, 12:52 PM
Hello bluedreamer & mwatkins:

Thank you for quick responses and recommendations, which I shall heed. :agree:

Issue resolved.

Much appreciate!

Alan :)

awsolutions
11-04-2006, 01:25 PM
Def have to agree with mwatkins