HTML - Redirection Question
Hi - I'm really new to HTML and web design in general. What I'm trying to do is to set up a website where the home page is a disclaimer (page 1). The user presses the "Accept" button and is taken to the next page (page 2).
Lets say a user copies the url for page 2 and emails it to a friend. The friend clicks on the link and bypasses the disclaimer. How can I have that page redirected to the disclaimer on page 1, but not have page 2 redirect to page 1 if the accept button is pushed. I hope I explained that adequately (but I doubt it!). Thanks for the help, Similar TutorialsI don't want my page to redirect automatically, but I have a link on my old website's URL that says "Click Here to be taken to my new URL" and I was wondering, if my previous website has pages like mywebsite.com/randompost1393 is there a way to link it to newURL.com/randompost1393 but not JUST on that one page, on all of my pages? Like just coding one link on my previous URL so that no matter what page I'm on, it just switches over to the same page but on my new website? Like if its on the home page which is just mywebsite.com/ it should go to newURL.com/ and if its on /page/3 it should go to newURL.com/page/3 I hope this makes sense, sorry if it confuses you. Hi Guys, I have a website which has an iframe and inside that frame is the web content. Now when I want to do a website redirection using the META tag method the new site loads inside the iframe, I dont want this to happen, I want the whole site to goto the new site. How can I do this ? I'm using geocities free btw. I am after the html code to redirect the surfer from an address to a new address so I guess I have an index file with code at site 1 then when surfer goes there it automatically [hopefully without him/her knowing] just diverts to site 2 I am trying to make links on my website like one of the following: example.com/promo All I did was take away the .html from the ftp page. Everything is fine when I access the page with IE, but Fire Fox just displays the html code because it is not .html at the end. How can I make these pages without having to have .html at the end, but with fire fox recognizing it as a html document? Let me know if I need to explain myself better, Thanks See error image: http://img692.imageshack.us/img692/5861/redirection.jpg I have no idea what this means, I can't add a wildcard redirect from my .net to .com domain. It had worked before, the redirect was deleted, and now I can't add it back. See public_html folder: http://img534.imageshack.us/img534/3938/publichtml.jpg Opened a support ticket, the guy doesn't know what he's talking about. He's telling me to go back to the redirect section and add the info (that I already tried). Any ideas? Hi guys im new here , hope this is in the correct place , sry if its not. Im trying to redirect a link . I have an image on another forum in my signature. i have it linked to already using [url=http " web page here "][img] "my signature image here" [/img] So currently when someone clicks my signature image it redirect them to the web page that its linked to. But what im looking for is , when someone clicks my signature image i want it to go to a single web image first ( for a 5 or so second delay) and then automatically redirect to the link. Anyone got any ideas how to do this , thank you all hope you can help me Hi! I have a problem. My homepage, what is under construction at the moment, is only viewable without errors with Explorer. I want to insert a javascript to the index.htm file, that redirects the visitors, depending on their browser. I am currently trying this: <script language=Javascript> if ((navigator.appName=="Microsoft Internet Explorer")&(navigator.userAgent.indexOf("Opera")==-1)&(navigator.userAgent.indexOf("Netscape")==-1)&(navigator.userAgent.indexOf("Mozilla")==-1)){document.location.href="good.htm";}else{document.location.href="wrong.htm";} </script> The indexOf stuff is needed, because Mozilla, Netscape and Opera would trick the script, because they make themselves look like Explorer. ...But this still doesn't work right, because now this script redirect every browser to "wrong.htm" (even explorer). I would be very thankful, if somebody would help me out with a working script. I need to do a redirection without breaking frame...does anyone know the code for this? I am using: <head> <script language="javascript"><!-- location.replace("pagename.html") //--> </script> ...other head section stuff (Title, Description,etc.)... </head> Thanks!!! Hi, I webmaster a web page at, lets call the address: www.ourlittledivision.bigcompanydomain.org. Here (at our company) I have all files of the web page, including a functioning favicon. I have also complemented with a more readable web address, lets call it: www.ourlittledivision.com. This second address simply redirects to the first address mentioned above. This domain with its redirection is located at an external web hotel. These two alternative addresses means you can reach the web pages either way by just writing either the first or the second url. My question is that the favicon appears fine if you use the first address, but not if you use the second. The favicon seems to be lost in the redirection, and just IEs default icon is shown. The web hotel should not be blamed. I use it for other web pages where the favicons work, but they are not redirected. My picture favicon.ico lies just next to the index file in the root, not in any of the folders. The code in the index file is simply: <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <link rel="icon" href="/favicon.ico" type="image/x-icon"> So, can anyone mediate...? Somebody out there must have seen this phenomena. I guess there are more than I that could be helped by a solution to this question... Best regards Stonechat Hi, We are going to open few vacancies in our website. We create a separate link to apply for each position in website. So for each position, there will be a buton APPLY NOW for example. What we need now is to create a script if possible, that when people apply depends in position, mail goes to certain subfolder in our mailbox. Basically it'll have to do the job of rules in MS Outlook. We don't want to create rules, because people usually don't write in subject line (for example) as we advise them in order rule to function properly Thank you Hello Everyone, I used to have this site where it had the power to on load redirection one site (If opened) to a certain one. For example; If I had google opened, and then i load my site on a different tab or window onl load of that page google would be changed to the site i put in that code. Now I have lost this code, I asked on another forum and they said something about putting target in my code. This did not work either. Atleast what I tried. Does anybody know this code or have a suggestion for me? -Troy Hey guys, i'm just starting up with html, and am having a few problems. I have a php file titled "stats.php" that return results when you direct your url to: /stats.php/default/dricho Its a dynamic sig generator through a php file. I have created a form that allows you to simply add in the details so that it generates the link for you. But i am having an issue. here is the form: HTML Code: <form action="http://www.domain.com/sig/stats.php" method="post"> <select name="background"> <option>maple</option> <option>default</option> </select> Name: <input name="rsn" type="text" /> <input type="submit" /> </form> How can i make it so teh results open a link based on teh items chosen? i.e. if i chose maple and input dricho it would direct the url to: "/stats.php/maple/dricho"? All help is greatly appreciated, Daniel I'm having trouble with my site. I can get it looking great in IE7 and FF, but if you try and view it in IE6 or below, it doesn't look right. I have tried everything I can to fix it with no luck so I have given up. What I'm wanting now is for the code to detect if you are using IE6 or below, and if you are I want it to take you to redirect you to a warning page that says something along the lines of "You need to upgrade your browser to IE7, or continue with caution" or just something like that. Can someone direct me to a helpful site or maybe someone has some script already that they can post? Hello team, I had some great help here last time so this is my first stop to ask another question What i'm trying to do is make: www.mysite.com/whatever (where 'whatever' is the string i give someone i.e 12345 or bobsmith) ...redirect to: http://www.redirectsite.com/print_de...p?pid=whatever so i can tell people to go to, for example, www.mysite.com/bicycle and it will go to http://www.redirectsite.com/print_de...sp?pid=bicycle note that i have no control over 'redirectsite' other than being able to upload my products. is this possible? i'm thinking that somehow i could make a /redirect directory with some sort of graber file where anything that queries /redirect as in www.mysite.com/redirect/bicycle automatically gets forwarded to the new site with the added string on the end of "id=". how tough it that!? tell me it's not impossible please!! thanks for you help in advance!! Hey guys i was woundering the best way to update contnt on the site .. is there a HTML CMS or via the code? sorry if this is a simple question Jusrt come from using the e107 CMS and trying to get use to the hole thing! ^^. Hi, I was wondering if it is possible to create an image that floats where ever you put it on the page. For example, it would float above this text, blocking it out. Basically I want it to ignore anything around of underneath it. I would also like it not to use scripts, if possible. Oh and one more thing, is it possible to do this between the body tags only? Thanks! Hi, I am a bit of a noob so please bear with me if this sounds a simple question. I know all about precedence, but I don't know the right way of dealing with an issue I have. I have a number of nested lists containing 2 levels of UL LI. Whilst the level 1 styles may change, for instance I might have one style for the top bar on the website and another for the main nav, the 2nd level could be re-used in both instances. Lets say I create a generic style - "list-style1" .list-style1 {border...} <ul id="top-bar"> <li><a>level1</a> <ul class="reset-level1 list-style1"> <li> <a>level 2</a> </li> </ul> </li> </ul> When I'm styling the list, I reference the id #top-bar and then because I want to apply a generic style to level 2, I create another class called reset-level1 to reset li and a styles. The problem I have is that the reset is specific to #top-bar it takes precedence over my generic class .list-style1. I can of course hack it, but wondered how it can be worked round properly so that I can use my generic styles. Hope this makes sense. Thanks John On my website, all of the images I've posted, have been created using Photoshop. How is it possible, in order to create clickable links on top of existing images? For instance scattered around the existing image? I guess that this is possible using Dreamweaver CS3, although I am hand-coding, therefore I was wondering if there was another way, and if so, how? Thanks a lot guys. Hi guys! Im new to this forum so don't expect much. Im wandering is it possible to load html document without your browser or an html editor. cheers Connor How can I copyright or otherwise protect my images online? ____________________ Polo Shirt Printing T shirt Embroidery |