HTML - Redirect For Documents
Hi,
I'm having a probably unusual problem with my website. It contains html pages, but also documents & PDFs for downloading. People are making links directly to these documents, but as these documents are in a separate directory, they cannot find the original page which lists all these documents. Is there any way that when someone follows a link to a document in a specific directory, that I can redirect them to a html page instead Many thanks, Rudy Similar Tutorialswhat i would like to do is have certain documents either in PDF or.dox format available for download from my site, can anyone point me in the direction of a good tutorial for how to do this im not finding anyhting except third part services that upload the document to their server and then you just link to them.. I am trying to find a way for users to download up to date document file on a webpage. Many users click on the link to a document file and open rather than save the file to a specific location. In the future, the document file gets updated and if the user clicks on the link and open the document file, a browser brings up old document file that has been saved before in temporary files directory instead of opening up updated document. I know that I can tell users to save the document to a specific location on their machine, but I want to know if there is a way to avoid this issue using a script if there is any. I want to embed (not hyperlink) a sub-document into a master. The specifications for HTML 4.01 at paragraph 13.5 provide the following simple example: <OBJECT data="embed_me.html"> Warning: embed_me.html could not be embedded. </OBJECT> (the Warning message displays in case the agent fails to load the embedded document) However I have not been able to make this feature work. If you open the master file with Internet Explorer 7, you obtain the Warning message, hence IE7 is not capable to load the embedded document. At the same time the bar saying that pop-ups have been blocked shows, but even allowing the pop-up nothing changes. I tried to add information, such as: <OBJECT data="embed_me.html" type="text/html"> ... with no result. Why is the tag OBJECT not working as expected? What have I done wrong? Thanks a lot. I hope this is posted in the right section. If not, I would appreciate some advice as to which forum section to post in. I'm after code / software that can automatically detect the number of words in a range of different document formats. It's for a proofreading website so has to be reliable. Any help or suggestions would be much appreciated. Louis. Hi All, I am building a intranet site which is totally internal, the records I'm saving have physical paths to documents I want to link to, which can be anywhere on our network. These paths have to be physical. But I'm having a problem trying to get the link to work, an example link is below. <a target="_blank" href="m:\docs\conference.doc">m:\docs\conference.doc</a> Maybe it's not possible at all with HTML on it own I may need to get scripting involved. Any help appreciated Hi, I'm a noob at HTML, and I've learned a lot, but I can't seem to get this right. I want to divide all my HTML documents into 3 sections, without frames. I want the middle to be 800px, and on its left and right 200px(separately). However, I can't seem to get it right, I want to divide it so that the code in each division doesn't affect what's in the middle9vaguely speaking of course). Any help is appreciated. Which document type is easy and most used either Transitional or Strict? As I have validated my page using w3c validator it asks to define class for each and every thing like <table class="xx"> .xx {width:40%;} This makes maintainablility easy but if I have to define 20 different widths I cant use class names just for these widths.. Will Transitional doc type support this?? Hello all, I'm wanting to put a print button on a web page that when clicked will print multiple documents/pages. I have tried doing this but have failed several times, does anyone know what the code is that i should be using? Thanks Mini Hi All This is my first post so i hope I provide all the info you need, to be able to help. I am working inside Macromedia UltraDev as this is waht I was taught with over a decade ago. Problem started when I set a fixed background image to the page . . . dropdown menu still displays, but everything else (text & pics) in table seem to be hiddden behind the background image. here is the code HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="0"> <style type="text/css"> html, body {height:100%; margin:0; padding:0;} #page-background {position:fixed; top:0; left:0; width:100%; height:100%;} #content {position:relative; z-index:1; padding:10px;} </style> <link rel="stylesheet" type="text/css" href="dropdown/dropdown.css" /> <script src="dropdown/btp.js" type="text/javascript"></script> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="en-au"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Barcaldine Tourist Park</title> </head> <body> <div align="center"> <center> <table width="1000" border="0" cellpadding="0" height="100%"> <tr> <td height="54" colspan="2"> <div align="center"> <h1><font face="Georgia, Times New Roman, Times, serif" size="+7">Barcaldine Tourist Park</font></h1> </div> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="146" colspan="2"> <span class="preload1"></span> <span class="preload2"></span> <ul id="nav"> <li class="top"><a href="#nogo1" class="top_link"><span>Home</span></a></li> <li class="top"><a href="#nogo2" class="top_link"><span>Park Features</span></a></li> <li class="top"><a href="#nogo22" class="top_link"><span>Accommodation</span></a></li> <li class="top"><a href="#nogo27" class="top_link"><span>Our Tarrifs</span></a></li> <li class="top"><a href="#nogo57" class="top_link"><span>Special Offers </span></a></li> <li class="top"><a href="#nogo57" class="top_link"><span>Local Photos</span></a></li> <li class="top"><a href="#nogo57" class="top_link"><span>Contact Us</span></a></li> <li class="top"><a href="#nogo53" id="shop" class="top_link"><span class="down">Local Attractions</span></a> <ul class="sub"> <li><a href="#nogo54">Australian Workers Heritage Centre</a></li> <li><a href="#nogo55">Tree of Knowledge</a></li> <li><a href="#nogo56">Artesian Country Tours</a></li> </ul> </li> </ul> </td> </tr> <tr bgcolor="#FFFFFF"> <td rowspan="2" width="99"> </td> </tr> <tr> <td rowspan="5" width="895" bgcolor="#FFFFFF"> <div align="center"></div> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="99"> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="99"> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="99"> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="99" height="23"> </td> </tr> </table> </center></div> <div id="page-background"><img src="images/bg.jpg" width="100%" height="100%" alt="Smile"></div> <div id="content"> </div> </body> </html> hi, i need some help with this. the following line is in a script <META http-equiv='refresh' content='1; URL=http://lblah.com/radio.php?ipp=84.95.247.20&port=22930&ch=898'> now this script redirects to another page.. is there some way i can get it to do this without actually leaving the page im on. thanks in advance for your help I have a situation where I snd peoplle to a different page to do a download and I want them to be redirected back as soon as the download completes. Is there a command for that? I have a link going direct to pdf documents on one site eg www.one.com/blah.pdf. The pdf's are moving to a new web site www.two.com/blah.pdf. How do I redirect people that link direct to the old pdf to the new one. These pdfs are coming up very high in Google. I was hoping if I changed them to redirects Google would follow. Also for those that have a link in their web site to these pdfs it will be broken when I move them to the new url. Hello all, So I am doing site management, and I have a problem with a redirection that is going on. There is a directory in the root called venngo (http://url/vengngo/) however it redirects to a different page all together, so I removed the folder, uploaded a new one, and it still redirects. I have checked my cache and multiple machines, so I know it is not on my side. The only time my page works is if I physically add /index.php tot eh directory to make it (http://url/vengngo/index.php) What should I be looking for in the files for the website for a possible redirection script. Maybe htaccess? I went to a site for optimization & on review it told me my site had a re-direct, which was bad. Its been awhile since I tinkered with my site, so beats me where I put it. Can anyone help find out where it is? Newbie to this forum. Thanks. website is: kallico.net Thanks for any help on this, or anything else to help it get noticed more. Is there any HTML code to redirect mistyped urls? Let's say someone wanted to get to a music section of my site. They type in XXX.com/music instead of XXX.com/music.html. Any way to get this done? Redirect might not actually be the thing that I'm looking for, but I here's what I'm looking for. When you visit the website, and image is shown taking up the whole page. It stays for 2-5 seconds, then redirects you to the normal home page. (Maybe the image would also be a link to the home page so people could speed things up) Thanks very much. Hello I'm redirecting pages using 301 redirect in my htaccess file, like redirect 301 "/servicesxxx.php" http://www.site.com/services.php but I have a page like this: www.somename.site.ca/indexpage.php I tried putting the whole thign in there but it doesn't work. How can I successfully redirect that page? Hi I want to know what main difference is between 301 redirect and 302 redirect. I redirected my site permanently (301) to another site and I lost all my original hyperlinks on the old webpage. If I want to keep all previous links alive, what should I do? Thanks! hi how do u use a redirect 301 code in html file in a website ? and wat is the use of that ? |