Redirecting forum to new domain

Discussion in 'Forum Management' started by Lifelong, Jul 16, 2008.

  1. #1
    I searched and nothing that could really help me came up. My question is this:

    How can I redirect www.OLDSITE.com/forum www.NEWSITE.com/forum?

    I don't want www.OLDSITE.com to go anywhere, just the forum. I will merge the databases shortly, but I want all the traffic coming in to be redirected to NEWSITE.com/forum including every inner page.
     
    Lifelong, Jul 16, 2008 IP
  2. ellion

    ellion Peon

    Messages:
    212
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    it is not clear what you want to do. are you:
    movng the databse from a current server to a new server with new domain name.
    or
    are you keeping the database with the current server and changing the domain name.

    to direct traffic from old domain to new domain you can edit .htaccess or you can set up a forward or alias
     
    ellion, Jul 17, 2008 IP
  3. Lifelong

    Lifelong Banned

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The OLDSITE domain, database, server all stay. I just want to redirect the OLD forum and all pages in the /forum directory to a new location. How do I do that?

    How do I access my .htaccess? I searched for it in my public_html folder and it is there when I "search" but when I explore the public_html folder I do not see any such file.

    After I track down that file, I'm assuming OLDSITE.com/forum/.htaccess what code to I need to enter to redirect it to another domain?

    ^
    Again, I've looked and I don't see the file there, but when I use the search option, it says it's there?!?!?!
     
    Lifelong, Jul 17, 2008 IP
  4. ellion

    ellion Peon

    Messages:
    212
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    use an ftp program like filezilla download the .htaccess to your desktop and edit it. you may need notepad++ or a text editer better than notepad as notepad wont let you save .htaccess because the file name is the extension name. the other way you can do it is edit the file and save it with a name like edit.htaccess then upload it and remane it.

    you should be able to google the code to implement .htaccess redirect. i dont know it of the top of my head.

    google terms "301 redirect" "permanent redirect" ".htaccess redirect"
     
    ellion, Jul 17, 2008 IP
  5. CarterMarkham

    CarterMarkham Greenhorn

    Messages:
    76
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    301 Redirect is the only way to go. Google looks down on other redirects, so I hear.
     
    CarterMarkham, Jul 18, 2008 IP
  6. Neptune

    Neptune Well-Known Member

    Messages:
    1,465
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    108
    #6
    well u can use domain forwarding or you can use a simple php file and put this code in it.

    <?php
    header( 'Location: http://www.yoursite.com/new_page.html' ) ;
    ?>
    Code (markup):
     
    Neptune, Jul 20, 2008 IP