1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How can I redirect all pages on Site A to one page on Site B?

Discussion in 'Apache' started by elizawhat, Oct 23, 2011.

  1. #1
    I recently bought a new domain and want to redirect all of the old pages on SiteA.com to SiteB.com/category/journal. How can I do this?

    Thanks for your help in advance. I've been researching this for days and I'm starting to feel like my brain is melting.
     
    elizawhat, Oct 23, 2011 IP
  2. IwhiC

    IwhiC Peon

    Messages:
    2,594
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This can be done very easy through forward url in control panel.

    Log into hosting control panel for site that you want to url re directed.

    In cPanel it is REDIRECTS.
    Then simply find domain and page
    then enter new destination.

    YOU can forward hole domain or pages of website
    You can forward pages the same way.

    Best of luck
     
    IwhiC, Oct 23, 2011 IP
  3. HSJason

    HSJason Peon

    Messages:
    52
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are these on two different servers or through the same hosting account? What host you are using would be a huge help also, depending on the control panel they use. Assuming of course you aren't running your own server.
     
    HSJason, Oct 23, 2011 IP
  4. elizawhat

    elizawhat Guest

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I tried that, several times, and for some reason it was working as a wildcard redirect.

    I'm perfectly comfortable using .htaccess, if anyone knows the code.

    I have Host Gator, and both sites are on the same host.
     
    elizawhat, Oct 24, 2011 IP
  5. elizawhat

    elizawhat Guest

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I still have no solution, but thanks to everyone who tried to help so far. Maybe someone else knows or I'll eventually find it. I've done a lot of Googling. :D
     
    elizawhat, Oct 25, 2011 IP
  6. rentdn

    rentdn Well-Known Member

    Messages:
    1,236
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    195
    #6
    try this

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !cpsymptoms.net$ [NC]
    RewriteRule ^(.*)$ http://cpsymptoms.net/$1 [L,R=301]
     
    rentdn, Nov 18, 2011 IP
  7. stardik

    stardik Member

    Messages:
    261
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #7
    stardik, Nov 23, 2011 IP