HTML - Old Page Redirect To New
Hello,
If I were to change my pages from thispage.html to thispage.php or this-page.html how would I make sure that the old page will redirect to the new one? Similar TutorialsHow can I set up a page that automaticaly redirects my visitors to a new page? Hey I have a site that has a weekly newsletter; people sign up through an opt in box... What I want to do is after they sign up and hit submit, I want them redirected to the same page right under the opt in box so that they can start right where they left off. Does anyone know how to redirect to a certain point on a web page? Thanks. ok guys thanks for all help you have given me so far. Now here is my next thing, we have aquired about 20 websites whihc will all be linking to my one site. These are all well known sites with in my niche. How is the best way to do this, would it be better to use redirect or have a splash page and have people click. will google only count clicks as links to my sites or how dose this work. Thanks. My daughter's wedding inviations have a url on them that was misprinted "www.website.com/wedding" which should have been "www.website.com/wedding.html". Is there a way to Redirect what was misprinted as a directory, to go to the actual web page "www.website.com/wedding.html"? I have intermediate knowledge building html web pages using Dreamweaver (I know some Javascript and CSS). Thank you from a desperate father-of-the-bride!! Hi, I'm new here and need a simple question answered: I have a store I am putting online, the store resides in a folder under the main folder so I need to have the index.htm in the main folder redirect the user to the index.htm in the store folder. I'm a bit rusty on my html skills, CRS is begining to raise it's ugly head, and can't for the life of me remember how to do it or find a reference to it. There is an ivalid page on www.google.com and it directs me back to the home page. Why is that? Hello all i've been doing some research on my own and am simply trying to redirect my site "ndcubed.com" to "ndcubed.com/Construction/Constuction.html" when my site is undergoing maintenance. I've managed to read up on some tutorials and have found that this is apparently supposed to work: In the .htaccess file Code: Options +FollowSymlinks RewriteEngine on RewriteCond %{REQUEST_URI} !/Construction/Construction.html$ RewriteRule $ /Construction/Construction.html [R=302,L] This works like a charm and redirects all my pages to Construction.html however if you try going to my site the redirected URL is simply a blank page. However when the code in the .htaccess file is removed it isn't blank and displays normally. What could be going wrong, why would a redirect cause this page to not load correctly? Nothing is loaded except plain text, even the page background isn't displayed. Thank you for your help, I feel like i'm so close to getting this solved. Construction.html source: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-image: url(Images/lightGrayBack.png); background-repeat: repeat; } --> </style></head> <body> Test </body> </html> Hi all I am trying to set up a custom 404 page for when a user visits a broken/error page. I have read several other pages telling me how to do it, and they all pretty much the same thing, however it isnt working. Keep getting this on the page when i enter a broken link: Not Found The requested URL /clients/index.htm was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I have set up a ht.access text document with the following code: ErrorDocument 404 error-page.html An error-page.html page has also been created. Now, am i even naming ht.access file right? Do i need any other code in the error-page.html to make it work? im going round in circles, getting nowhere, i hope someone can help!! I know how to do a basic redirect, but this is a bit more tricky. We use a CMS system to do most of our Web site but that limits me to do any html in the "head" since the programmers "locked us out." I'd like to put an html file on the root of the site to do a redirect to correct a link problem. We sent out an email with the wrong link - problem is, the link goes to a dynamic page. I want to REDIRECT that page to a new static page. This has to be possible....isn't it? I want anyone clicking on the link below: http://www.macpa.org/Public/Catalog/...rseID=09191010 to be redirected to this page: http://www.macpa.org/Content/25187.aspx HELP! Hey everyone, This is my first post here, and I was hoping you guys could help me with a problem I am having. I own a race photography company and I am trying to find a way to create a form that athletes can fill out and it will take them to their images. I have keyworded all the images on my smugmug site with a race id followed by a number, such as "gunstock 6" So if they visit http://blahblahblah.smugmug.com/keyword/gunstock 6 it will bring up all the images of them from that race (every image keyworded with gunstock 6) However..... what I want to do is make that into a form which will take them to that specific page. I am a newbie when it comes to designing forms and webpages, and after searching around, it seemed the form get command sort of achieves what I want, in that it takes the form input and places it in the url. However... it also places the usual query text such as the question mark, =, and all that good stuff. So when I enter the race id and number on my form, it will instead take me to the url .../keyword/?=gunstock&=6, which instead of being a defined page with all of the images keyworded gunstock 6, it will just bring me to the keyword search page of smugmug. Is there any way to design a form that redirects simply to the .../keyword/raceid # url format? Thanks a million! I know how to have my page redirect to a different page. the problem i have is that I want somebody to go to my page, click on a link, which will bring them to a new page, have the new page open up an instant mesanger window to my screen name, and then redirect back to my main page. I have all of the code to open up the IM window, but I do not know how to get the browser to redirect after that has happened. as of now, this is my page i want to have the code to redirect to my main page on. Code: <html> <head> <title>WeirdClayJisKOOL//AIM-redirect</title> <style type="text/css">.sneaky { display: none; visibility: hidden; }</style> <script language="javascript"> function reDirect() { document.aim.submit() } </script> </head> <body onLoad="reDirect()"> <B>Generating AIM..</B> <a href=http://www.mymainpage.com><h1>Return to Mymainpage</h1></a> <form method="post" action="aim:goim?screenname=WeirdClayJisKOOL&message=Hey!" name="aim"> <span class="sneaky"><input type="submit" value="AIM"></span> </form> </body> </html> i'm not sure if this post belongs in this section because i don't know if i would use html, or javascript or what. if you are un-clear about what i want let me know and i will be glad to attemp to clearify. thank you! Hello, I'm a windows app programmer, but don't know too much about HTML. I use Frontpage to maintain my web site. I need to check the referring page, and if it equals what I want, then I need to redirect to another page. OK, to explain further, I've had a web site for years. Lets call it www.p.com. Yesterday, I registered two new domain names, we'll call them www.a.com and www.b.com. I had my web host simply make them pointers directly to www.p.com. So, when users type in www.a.com or www.b.com, they are automatically taken to www.p.com. This is OK...but, it is causing some issues. What I'd like to do is, when the page (www.p.com) is loaded, I want the page to check the page the user came from, such as www.a.com. If it was www.a.com or www.b.com, then I want to re-load www.p.com, so that the page is refreshed so that it actually was www.p.com and not a re-direct from www.a.com. Can I do this? and how can this be done? Many thanks in advance! domls I have a page with a black background, and a script so that when a link is clicked the page fades out and then redirects to the link location. Since the background is black, the page fades to black before redirecting. How can I have it fade to white and then redirect? 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 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. 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. hi how do u use a redirect 301 code in html file in a website ? and wat is the use of that ? 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? 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? 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? |