Question about 301 redirect

Discussion in 'Search Engine Optimization' started by Sxperm, Apr 10, 2008.

  1. #1
    I have seen many methods for using as 301 redirect. I'm going to redirect from site1.com to site2.com. They are wordpress blogs. If I use this one in my .htaccess file for redirect each page manually, is it ok? Would it give any negative effect on my new site?

    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    redirect 301 /category/postname1.html http://www.site2.com/category/postname1.html
    redirect 301 /category/postname2.html http://www.site2.com/category/postname2.html
    
    Code (markup):
    or should I use 301 like this one instead to redirect all pages on the fly.

    
    RewriteEngine ON
    RewriteRule ^(.*)$ http://mynewdomain.com/$1 [R=301,L]
    
    Code (markup):
    :D How much of time would it take to get new domain ranked as the old one does?
     
    Sxperm, Apr 10, 2008 IP
  2. Bloomtools

    Bloomtools Peon

    Messages:
    1,361
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i think second one is good choice.
    My be 1 to 3 months,
    That's perfect answer no one can give outside of Google,
     
    Bloomtools, Apr 10, 2008 IP
  3. Aryans

    Aryans Well-Known Member

    Messages:
    1,854
    Likes Received:
    31
    Best Answers:
    1
    Trophy Points:
    178
    #3
    Agree with bloomstools 2nd one better then 1st one
     
    Aryans, Apr 10, 2008 IP
  4. neeruneeraj

    neeruneeraj Banned

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    nice post, but i confused we provide this code add blog what increase traffic and hits? how plz full information.:)
     
    neeruneeraj, Apr 11, 2008 IP
  5. Sxperm

    Sxperm Notable Member

    Messages:
    4,386
    Likes Received:
    142
    Best Answers:
    0
    Trophy Points:
    225
    #5
    No, we are talking about redirect domain/url from old site to a new site when we want the new url to take place instead of old url. This redirect is not increase both traffics and hits. You will receive all traffics as same as the old one did.
     
    Sxperm, Apr 11, 2008 IP
  6. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #6
    If you are keep the same internal link structure and changing just the domain use the below code...

    
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]:
    
    Code (markup):
    Simple as that, if your changing the actual URL structure you have do 301 redirect each web page to do it properly.
     
    astup1didiot, Apr 11, 2008 IP
  7. Sxperm

    Sxperm Notable Member

    Messages:
    4,386
    Likes Received:
    142
    Best Answers:
    0
    Trophy Points:
    225
    #7
    Thanks. I tried to add green rep but I've been told I have to spread some rep to other before give it to you again. :D

    How much time would new domain take as ranking replacement the old one, ssandecki?
     
    Sxperm, Apr 11, 2008 IP
  8. chaitanya.seo

    chaitanya.seo Banned

    Messages:
    625
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I have a wordpress blog, now i want to shift all it;s content to the blog which is going to be implement in my website, shall i redirect (301) for each and every pages from free hosted blog to new url's?
    How?
     
    chaitanya.seo, Aug 12, 2008 IP
  9. www.rapidvectorseo.com

    www.rapidvectorseo.com Peon

    Messages:
    312
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You may set it from your Control Panel in the wordpress.
     
    www.rapidvectorseo.com, Aug 12, 2008 IP
  10. dfbosso

    dfbosso Peon

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Is redirect a way of gaining more page rank?
     
    dfbosso, Aug 12, 2008 IP