Results 1 to 3 of 3

Thread: Auto page forwarding

  1. #1
    Join Date
    Apr 2005
    Posts
    49
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Auto page forwarding

    If I have moved my site to a different server and I want any visitors to the old server to view a message and then get redirected automatically


    I need a script that will automatically forward a user to the new web page.

    Thanks

    Quiztoon

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It is better to use a server side script for that but, putting this in the head will work fairly well (note - not technically a script):

    Code:
    <META HTTP-EQUIV = "REFRESH" CONTENT = "15; URL=http://www.some.com/new.htm">
    15 is the number of seconds before redirect. Be sure to include a link on this page to the new page for folks who's browsers don't work with the above meta tag. You could use a script but, non javascript enabled browsers wouldn't be redirected.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1
    [Redirecting] It is better to use a server side script for that [...]
    Nothing so grandiose. See a recent thread on server-side redirects. Though geared towards Apache and Apache-like servers, it will apply in other forms to other server software, too.

    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •