how to forward an url?

Discussion in 'Site & Server Administration' started by stratorider, Jul 2, 2007.

  1. #1
    hey guys,
    i need to forward:
    mysite.com >>>mysite.net

    how to do it?

    Help aprecciated asap, it´s a forum and downtime...:(
     
    stratorider, Jul 2, 2007 IP
    skibladner likes this.
  2. skibladner

    skibladner Peon

    Messages:
    1,149
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put a java script for redirection on mysite.com. The kind that say, "click here if it doesn't redirect in 5 seconds"
     
    skibladner, Jul 2, 2007 IP
    stratorider likes this.
  3. bouncer69

    bouncer69 Peon

    Messages:
    978
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Make a .htaccess file on mysite.com. Then add the following code on the .htaccess file.

    RewriteEngine On
    RewriteCond %{HTTP_HOST} .
    RedirectMatch permanent ^/$ http://www.mysite.net
     
    bouncer69, Jul 2, 2007 IP
    stratorider likes this.
  4. expedio

    expedio Peon

    Messages:
    10
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Dont use JS and .htaccess if you not familiar with them

    try this and use simple html code


    Place the following HTML redirect code between the <HEAD> and </HEAD> tags of your HTML code.

    <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/">

    The above HTML redirect code will redirect your visitors to another web page instantly. The content="0; may be changed to the number of seconds you want the browser to wait before redirecting.
     
    expedio, Jul 3, 2007 IP
    stratorider likes this.
  5. madarcu

    madarcu Peon

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Another solution: Where do you host your blog? If you have cpanel you can use Redirect from there.
     
    madarcu, Jul 4, 2007 IP
    stratorider likes this.
  6. expedio

    expedio Peon

    Messages:
    10
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    thats also good and simple.
     
    expedio, Jul 4, 2007 IP
  7. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #7
    Cpanel will simulate a 301 and 302 redirection, which is good.
     
    Camay123, Jul 5, 2007 IP
    stratorider likes this.
  8. stratorider

    stratorider Peon

    Messages:
    175
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    This problem was solved with cpanel thanks guys, rep´s added;
    now, i´ve got another one :( , but i´ve already started a new thread for that.
     
    stratorider, Jul 5, 2007 IP