Automatic Redirection

Hi,

How do you automatically redirect a page to another page? For example, say you no longer want someone to access your website at it's old URL, how do you automatically redirect them to the new URL?

Cheers,

James

Comments

  • : Hi,
    :
    : How do you automatically redirect a page to another page? For example, say you no longer want someone to access your website at it's old URL, how do you automatically redirect them to the new URL?
    :
    : Cheers,
    :
    : James
    :




    function Move() {
    self.document.location="newURL"
    }




    If you don't get redirected ... click here




  • Or if you are using asp then you could just use this:

    <%
    response.redirect("http://www.yoursite.com")
    %>

    [size=1]
    [b]_{Quote}_[/b]
    [italic]-"I know the odds are against [blue]me[/blue], but if there's a way to win, I'm gonna find it!!"[/italic]
    [/size]



  • Cheers!

    I found another way to do it:



    Where I have 0, you can put a value, in seconds, for the amount of time until automatic redirection.

  • simple.....




    [blue][b]Zeeshan Arshad[/b][/blue]
    [red]Web Developer[/red]


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories