HTML - Permnent Redirect Question
Hi
I have two or three html pages that I now want to permanently redirect to my new index.php page. What do I need to put in the .htaccess file to do this? The pages a http://www.gilbert.net.au/gilbert_1000.html http://www.gilbert.net.au/gilbert_1280.html http://www.gilbert.net.au/index2.html I want them all to go to http://www.gilbert.net.au/index.php They were all old flash versions of the site I had set up for different resolutions, but now I just have one html site for all resolutions. Thanks for your time and help Shaun Similar TutorialsOk, I've never really heard of this before, but my boss wants me to set it up, against my better judgement. basically, we're building a new site for a client, but he's got two domain names that he wants to use, and each one needs to go to a different home page. Is it possible to set up a redirect for a site that can understand which domain name has been entered and then send the customer to the appropriate page? or better yet, set up a home page like normal, but redirect only if the secondary domain name is entered. And how does this affect SEO? The other way I can think of to do this involves hard coding some links and one person jumping back and forth between domain names durring a single visit. Either that, or duplicate the whole site and drop it in a sub folder. 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 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 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. 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 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? 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? 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 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! 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 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? How to redirect to WEB B when open WEB A? On my website, i currently have a button that directs the user to a module on that domain. How would i make that button redirect the user to another(different) domain? Would i just replace the "module" with the 'different domain'? or is it more complex? Thanks, any help is hugely appreciated should this work? i just erase all the code under the button and insert this ? <?php header( 'Location: http://www.yoursite.com/new_page.html' ) ; ?> Ok on my site I want it to were when u click on one of the tabs it will redirect you to another site. I already changed the address of the link to the site I want. But when u click on it. It still shows my previous sites url and wont take you to the page. My code is below <a href="www.digitaldripped.freeforums.org/">Community</a> 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? 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? Hiya, I need your'e help! I am trying to create a small widget that when you enter a code it redirects you to that page eg. 666666 redirects you to address.com/666666, although if that page does not exist it says incorrect code. Is this possible, Thanks in advance. James Hello, I'm currently hosting my website through another domain but am using a .com which forwards you to my site. Example; go to www.example.com and it takes you to www.bluered.com/example/main.html . The problem is that when searching through Google, it is not recognizing my .com name, only the hosting url. I attempted a Java 301 redirect which I applied to the body section of my HTML but I am not sure if it worked. This is the code I entered: <% response.setStatus(301); response.setHeader( "Location", "http://www.new-url.com/" ); response.setHeader( "Connection", "close" ); %> I replaced the "http://www.new-url.com/" with my .com name and placed this code in the code on my landing page. Can anyone give me some suggestions, tips? It would be greatly appreciated. Thank you I have a video page that i want to use a redirection on but i use that code and all it will do is refresh itself, this is all on notepad and IE but it will not redirect to this page. I did try to use the W3 Validator but it said all my Closings where wrong. I need this to be done soon because the teacher wants me to present my coding to the class. Thanks for your help JollyGreen Code: <html> <head> <title>An XHTML 1.0 Strict standard template</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Refresh" content="0;url=ACR.html" /> </head> <title>Assassins Creed Brotherhood</title> <body Bgcolor="black"> <div style="Position:absolute;top:150px;right:150px;Width:960px;height:555px;"><embed src="ACBROHOOD.wmv" autostart="true" loop="false" height="555" width="960"> </div> </body> </html> |