PC Review


Reply
Thread Tools Rate Thread

Auto-Redirect

 
 
Karen Wise
Guest
Posts: n/a
 
      11th Nov 2003
I have changed servers and need to direct people to my
new site. How do I do that in front page?

Thanks

Karen
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      11th Nov 2003
It's tricky, because anyone can go to any page in your web. There are a
couple of ways to do it. The easiest is through IIS Admin. Just set up the
web site to redirect to the new web site. However, if you don't have the
ability to do it through IIS, you can add a META Refresh tag or JavaScript
to every page in the site, which redirects to the new site. Example:

<head>
<META HTTP-EQUIV="refresh"
content="2;URL=http://www.yoursite.com/newpage.htm">
</head>

With JavaScript:

<script type="text/javascript">
document.location = "http://www.yoursite.com/newpage.htm";
</script>

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.

"Karen Wise" <(E-Mail Removed)> wrote in message
news:0c5b01c3a86f$8d9f9d30$(E-Mail Removed)...
> I have changed servers and need to direct people to my
> new site. How do I do that in front page?
>
> Thanks
>
> Karen



 
Reply With Quote
 
Larry
Guest
Posts: n/a
 
      11th Nov 2003
It is also a good idea to add a text box at the top of the page that says:
"This page has moved. You should be redirected in 2 seconds. If that does
not happen please click on the link below. Please update your bookmarks.
<a href="http://www.yoursite.com/newpage.htm">My Newpage</a> "

I've found on some browsers redirect doesn't always work.

Larry

Kevin Spencer wrote:

> It's tricky, because anyone can go to any page in your web. There are a
> couple of ways to do it. The easiest is through IIS Admin. Just set up the
> web site to redirect to the new web site. However, if you don't have the
> ability to do it through IIS, you can add a META Refresh tag or JavaScript
> to every page in the site, which redirects to the new site. Example:
>
> <head>
> <META HTTP-EQUIV="refresh"
> content="2;URL=http://www.yoursite.com/newpage.htm">
> </head>
>
> With JavaScript:
>
> <script type="text/javascript">
> document.location = "http://www.yoursite.com/newpage.htm";
> </script>
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> http://www.takempis.com
> Big Things are made up of
> Lots of Little Things.
>
> "Karen Wise" <(E-Mail Removed)> wrote in message
> news:0c5b01c3a86f$8d9f9d30$(E-Mail Removed)...
> > I have changed servers and need to direct people to my
> > new site. How do I do that in front page?
> >
> > Thanks
> >
> > Karen


--
For your security and peace of mind ALL emails are automatically
scanned
with the latest Norton AV Virus Definitions. Not that I have any
virus'
but why not be careful! I get virus signature updates regularly!

A Belt and Suspenders are the best security invented!


 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      12th Nov 2003
PS
Set the redirect to 10 not 2 or some search engines will drop you
Agree having it done on the server is best
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Larry" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
| It is also a good idea to add a text box at the top of the page that says:
| "This page has moved. You should be redirected in 2 seconds. If that does
| not happen please click on the link below. Please update your bookmarks.
| <a href="http://www.yoursite.com/newpage.htm">My Newpage</a> "
|
| I've found on some browsers redirect doesn't always work.
|
| Larry
|
| Kevin Spencer wrote:
|
| > It's tricky, because anyone can go to any page in your web. There are a
| > couple of ways to do it. The easiest is through IIS Admin. Just set up the
| > web site to redirect to the new web site. However, if you don't have the
| > ability to do it through IIS, you can add a META Refresh tag or JavaScript
| > to every page in the site, which redirects to the new site. Example:
| >
| > <head>
| > <META HTTP-EQUIV="refresh"
| > content="2;URL=http://www.yoursite.com/newpage.htm">
| > </head>
| >
| > With JavaScript:
| >
| > <script type="text/javascript">
| > document.location = "http://www.yoursite.com/newpage.htm";
| > </script>
| >
| > --
| > HTH,
| >
| > Kevin Spencer
| > Microsoft MVP
| > .Net Developer
| > http://www.takempis.com
| > Big Things are made up of
| > Lots of Little Things.
| >
| > "Karen Wise" <(E-Mail Removed)> wrote in message
| > news:0c5b01c3a86f$8d9f9d30$(E-Mail Removed)...
| > > I have changed servers and need to direct people to my
| > > new site. How do I do that in front page?
| > >
| > > Thanks
| > >
| > > Karen
|
| --
| For your security and peace of mind ALL emails are automatically
| scanned
| with the latest Norton AV Virus Definitions. Not that I have any
| virus'
| but why not be careful! I get virus signature updates regularly!
|
| A Belt and Suspenders are the best security invented!
|
|


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto-redirect in Application_Beginrequest? =?Utf-8?B?QmVuIEZpZGdl?= Microsoft ASP .NET 3 29th Dec 2005 03:32 PM
how to auto redirect a page? blu3g85 Microsoft ASP .NET 3 3rd Apr 2004 03:43 PM
Auto redirect not working Chris Windows XP Internet Explorer 1 21st Jan 2004 01:53 PM
IE6 will NOT auto redirect! Steve Windows XP Internet Explorer 1 15th Dec 2003 04:53 PM
IE6 will not auto redirect steve Windows XP Internet Explorer 1 15th Dec 2003 12:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:03 AM.