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.

permanent 301 redirect from one site to other site’s folder

Discussion in 'Site & Server Administration' started by komalselva, Jul 23, 2012.

  1. #1
    Hi,

    I want to do a permanent 301 redirect from one of my site to other site’s folder.

    Ex. myfirstdomain.com to mysecondomain.com/myfirstdomain
    SEMrush
    Both these domains are performing well in Google SERP. I want to transfer all my SERP benefits of myfirstdomain.com to mysecondomain.com/myfirstdomain

    Is it possible? If yes please guide me how to do it.
     
    komalselva, Jul 23, 2012 IP
    SEMrush
  2. MyLibary

    MyLibary Well-Known Member

    Messages:
    693
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Are you using cPanel? / Directadmin?
     
    MyLibary, Jul 23, 2012 IP
  3. easypr

    easypr Member

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Always use 301 redirection if you want permanent redirection because redirection with 301 passes between 90-99% of link juice (ranking power) to the redirected page.


     
    easypr, Jul 27, 2012 IP
  4. тнє Sufi

    тнє Sufi Peon

    Messages:
    391
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Setting a 301 redirection is easy. Just put the following codes in your HTACCESS file, and it must be in the root folder of myfirstdomain.com:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://mysecondomain.com/myfirstdomain/$1 [R=301,L] 
    Code (markup):
     
    тнє Sufi, Jul 27, 2012 IP
  5. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #5
    it should rather be:

    redirect 301 /  http://www.mysecondomain.com/myfirstdomain
    Code (markup):
    in the .htaccess for hxxp://www.myfirstdomain.com/
     
    atxsurf, Jul 29, 2012 IP