HTML - Simple Redirect Not Working - What's My Mistake?
Hi
I found a simple redirect script, but it's not forwarding to the page it says it is - it just stays on the same page. What am I doing wrong? http://www.gilbert.net.au I used youtube as a sample redirect page, because I know it will load once I get the script right. Cheers for your help. Shaun Similar TutorialsHello, i guess i am coding much to long until now I can't find the mistake in this code: <a href="index.html"><img src=".././img/WappenFrei1.gif" width="110" height="109" border="0" alt="Das Vereinswappen"></a> The only thing i see is: ""<>"""";; But the W3C validator means it's not ok. I guess i need a break Yours Mulder Hello, My site displays incorrectly in IE and Opera, but correctly in Firefox Correct - http://www.farmads.ie/images/Firefox.PNG http://www.farmads.ie/images/IE.PNG http://www.farmads.ie/images/OPERA.PNG In IE and Opera, the latest ads do not show. Here is the relevant part of the file pertaining to this: Quote: </tr> </table> <p> <td width="50%" id="latesttable" valign="top"> <?php include_once("latest_featured.inc.php"); ?> <div><?php include_once("latest.inc.php"); ?></div> </td> Here is what I have at the start of latest.inc.php: Quote: <table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" > <td class="latestindex"><?php echo $lang['LATEST_ADS']; ?></td><p> <table width="100%" align="left" id="latestadstable" class="adlisting"> I'm new to html and ftp, and I inputted some html from the godaddy ftp that should work and it's not working but just showing the html language. on the page I titled the file index.html, but it's still not working. Go here please: http://animalcon.com/ Any suggestions? thanks -Nate hello i am new to javascript and i can't figure out why this code will not sort the user's line of text into alphabetical order. any help would be great thank you Code: <html> <head> <title> JavaScript array sort() alphabetically </title> <script type="text/javascript"> var arr = new Array(1); arr[1]=prompt("enter a line of text") document.write("Original Array is: "+arr+"<br>"); document.write("Sorted array is: "+arr.sort()+"<br> "); </script> </head> </body> </html> Hi. Could someone take a look at this site for me please. http://www.sussexweddingphotography.org.uk I have basic knowledge. Currently problems with IE8 as you will see. Firefox looks okay. Getting probs with resolution too, objects positioning all over the place, esp.. on my notebook Easy fix I am sure, but Im muddling my way through it... Thanx in advance 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? 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? 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 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. can someone tell me how i would go about creating a redirect for an old RSS feed. i want the old feed address to point to my new Wordpress-created RSS feed address. i searched around a bit and found this code snippet... Code: <?xml version="1.0"?> <redirect> <newLocation>http://www.wepub.com/myweblog/rss.xml</newLocation> </redirect> ...but when i put it in place of my old feed code, here was the browser result... Code: This XML file does not appear to have any style information associated with it. The document tree is shown below. <redirect> <newLocation>http://www.wepub.com/myweblog/rss.xml</newLocation> </redirect> am i doing this wrong? what is my best option? 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! 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. 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? hi how do u use a redirect 301 code in html file in a website ? and wat is the use of that ? 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? I am no HTML expert, however, I have managed to create a webpage for my I.T department that is hosted internally within our network. I would like to replace this webpage as my homepage, it use to be google.com before, the new webpage has google search box in it. Before I confuse myself and the you as well, let me get to the jist of it. Ideally I would like to do this, have my homepage set up in my browser as a local html file therefo d:\homepage.html. I want this homepage.html page to do 2 things, check to see if the webpage i created is accessible, if it is then go to it, if it is not, then redirect to www.google.com The reason I want to do this is because, when we are outside of our network, the homepage won't work, because it is hosted in our network only. When we are outside our network, we should just go to google.com I know its a silly problem, but I am curious if there is a easy code to do this. Thanks, Adam. Dear friends, I have a situation (may be silly but needed) as below When clicking 1.html should open http://myurl/2.html and return to 1.html again. I can do anything on 1.html but not on 2.html any advice? if html is not possible aspx pls? Thanks Bala I have about 300 files in the format gb3aa.htm, gb3ab.htm, gb3zz.htm etc in my root directory and I want to redirect users to /newdirectory/gb3aa.htm etc If I put 300 entries in my .htaccess file such as: redirect /gb3aa.htm http://www.mydomain.com/newdirectory/gb3aa.htm it would work fine, but there must be a smarter way of doing this? I did try: RedirectMatch gb3(.*)\.htm$ /newdirectory/gb3$1.htm but this did not work. So, what is the smart way of achieving this please? Hello, I'm using Google Apps and here's what I'd like to do with an html code. Right now I have a link that goes to "mail/", inside that mail folder is an index.html. Now, within that html code I'd like to redirect to "http://mail.google.com/a/layercakeclan.com/", but make it appear as though the URL is still "LayerCakeClan.com/mail". I know a lot of free url redirection services use this method. Can someone tell me how to do this? |