Prev: Includes not working
Next: Edit database...
From: Fred the Ted on 11 Jan 2010 09:33 I posted this question yesterday but it never appeared so sorry if you're seeing this twice. I've a couple of old websites which I want to close but Google have a few pages that stil show up in the search results and I would like to be able to send any visitor to a more up-to-date website of mine. How can this be done? I use FP 2002.
From: Hot-text on 11 Jan 2010 13:08 Fred the Ted Two ways I know if! <-- #1. Index.php --> <?php header ('HTTP/1.1 301 Moved Permanently'); header ('Location: http://Your_New_URL_Here.com'); ?> <!-- #2 index.html or index.htm --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Site moved...</title> <meta http-equiv="refresh" content="5;URL=http://YOUR_NEW_SITE_ADDRESS"> </head> <body> YOUR_OLD_SITE_ADDRESS has moved to YOUR_NEW_SITE_ADDRESS If your browser does not automatically redirect you in 5 seconds, click <a href="http://YOUR_NEW_SITE_ADDRESS">here</a> to go to the new site. </body> </html> <!-- You can make to the refresh content=5 to content=0 if you are not making a Body --> "Fred the Ted" <FredtheTed(a)discussions.microsoft.com> wrote in message news:68827DF4-5905-4040-9104-C6634CA0DBCB(a)microsoft.com... > I posted this question yesterday but it never appeared so sorry if you're > seeing this twice. I've a couple of old websites which I want to close but > Google have a few pages that stil show up in the search results and I > would > like to be able to send any visitor to a more up-to-date website of mine. > How > can this be done? I use FP 2002.
From: "Trevor Lawrence" Trevor on 11 Jan 2010 17:12 I would recommend #2. I find that content=2 is usually long enough, but even 0 is fine -- Trevor Lawrence Canberra Web Site http://trevorl.mvps.org "Hot-text" <hot-text(a)hotmail.com> wrote in message news:eCHPHkukKHA.5820(a)TK2MSFTNGP06.phx.gbl... > Fred the Ted > Two ways I know if! > > <-- #1. Index.php --> > > <?php > header ('HTTP/1.1 301 Moved Permanently'); > header ('Location: http://Your_New_URL_Here.com'); > ?> > > <!-- #2 index.html or index.htm --> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <html> > <head> > <title>Site moved...</title> > <meta http-equiv="refresh" content="5;URL=http://YOUR_NEW_SITE_ADDRESS"> > </head> > <body> > YOUR_OLD_SITE_ADDRESS has moved to YOUR_NEW_SITE_ADDRESS > If your browser does not automatically redirect you in 5 seconds, > click <a href="http://YOUR_NEW_SITE_ADDRESS">here</a> to go to the new > site. > </body> > </html> > > <!-- You can make to the refresh content=5 to content=0 if you are not > making a Body --> > > > > > "Fred the Ted" <FredtheTed(a)discussions.microsoft.com> wrote in message > news:68827DF4-5905-4040-9104-C6634CA0DBCB(a)microsoft.com... >> I posted this question yesterday but it never appeared so sorry if you're >> seeing this twice. I've a couple of old websites which I want to close >> but >> Google have a few pages that stil show up in the search results and I >> would >> like to be able to send any visitor to a more up-to-date website of mine. >> How >> can this be done? I use FP 2002. >
|
Pages: 1 Prev: Includes not working Next: Edit database... |