1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to do 301 redirect for search engines so it passes all the link power?

Discussion in 'Black Hat SEO' started by sluxent, Apr 26, 2012.

  1. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    I would like to do 301 redirect for search engines so all the link power is passed, how would I do so? Running wordpress on both sites, please advice, thank you!
     
  2. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    using a 301 redirect wont pass 100% link power, but its the best you can do.

    Your redirecting from one domain to another yeah?

    Do you want to redirect the entire domain, or just a single page?

    Do you have ftp access for the site you want to redirect?

    Gimme some info and i ca answer, or google your questions and find the answer that way.
     
  3. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    Well whats the best thing to do for me, redirecting the whole domain or just the main page to receive all the link juice/power so my other site can rank higher? Yes I do have FTP access for both of the sites.
     
  4. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    If you redirect just a single page it will only pass the power from that page, if you redirect the entire domain it will pass the power from all of the site to the single page.

    Obviously if you redirect the entire domain no on will be able to view the old site.

    And there's also the option to redirect old pages to specified pages on the new site. e.g oldsite.com/about-us 301s too newsite.com/about-us

    but if you want all the juice from the entire site passed to a single page, just redirect the entire domain to the one page.
     
  5. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    How is this done? Can anyone please advice? How do I 301 redirect the entire site so it passes all the link juice to a new site?
     
  6. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    Access the website you want redirecting via ftp. Is there a file called .htaccess in the root? (you might need to set your ftp client to show hidden files).

    If so open that file in a text editor and add this:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://www.name-of new-site-here.com/$1 [R=301,L]

    If you dont have a file called htaccess, just open notepad and add the above into a text file. Save the text file (selecting 'All files' from the save as type drop down) as .htaccess and uplaod it to the root of your server via ftp.

    You will also find hundreads of guides and info about this on google, so if you get stuck just search for 301 redirect entire domain,
     
  7. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    Thanks, but Im still struggingle:

    I just have uploaded all the content from the old site to a new domain, both wordpress based and now would like to do 301 redirect from an old domain to a new domain, so all the link juice/power will be passed to a new domain, how would I do so, I can't seem to find anything legit on google, my currect settings in .htacess is:


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>


    # END WordPress

    what do I need to add here so it redirects to a new site? Thank you much in advance!
     
  8. Bonafide Jones

    Bonafide Jones Registered Member

    Joined:
    Feb 1, 2012
    Messages:
    65
    Likes Received:
    10
    Occupation:
    Beast
    Location:
    Earth Server
  9. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    thats for internal only, could anyone please advise!
     
  10. vanessasweet

    vanessasweet Junior Member

    Joined:
    Jan 8, 2012
    Messages:
    184
    Likes Received:
    23
    Occupation:
    law school/webmaster
    What about the redirect in your cpanel.I thought that is for 301 redirect.
     
  11. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    redirect done in anyway passes the link juice?
     
  12. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    As i showed you in the other post:

    Remove all of the above add add this:

    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://www.name-of new-site-here.com/$1 [R=301,L]
    </IfModule>
     
    • Thanks Thanks x 1
    Last edited: Apr 29, 2012
  13. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    Yeah you can do it via server control panel as well. Although not all control panels have redirect settings, so thats why i suggest the .htacess method
     
  14. Bonafide Jones

    Bonafide Jones Registered Member

    Joined:
    Feb 1, 2012
    Messages:
    65
    Likes Received:
    10
    Occupation:
    Beast
    Location:
    Earth Server
    No it's not. It does external just fine. I do it all the time :)

    Edit: Oh yeah and if you had taken 60 seconds out of your time to actually try it you would have realized this.
     
    Last edited: Apr 29, 2012
  15. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    Done. I tried both ways and it works fine, but I did as you have stated above:

    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule .....
    </IfModule>

    my question is why did I have to remove everything else, would it matter if I didn't? I'm highly concerned about link juice flow to my new site, done this 2 days ago and google hasn't even indexed the new pages and everything that I have moved from my old site to new.
     
  16. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    Because they aren't relevant and wont be processed, the entire old domain is now redirected to your new domain. You dont need them in and should take them out in case there is any clashes; the .htaccess file is a temperamental old bugger and can easily brick a site.

    The redirects you had in before were simply redirecting any ulrs the had index.php in them to their equivalent ulrs without e.g www.mysite.com/index.php too www.mysite.com

    If you want to double check the redirects are working correct, test any of your old sites pages here:
    Code:
    http://www.webconfs.com/http-header-check.php
    Give it a little time, you need to give google a bit more time than 2 days.
     
  17. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    as long as its a 301 redirect yes
     
  18. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    I appriated all the help, within the last setting and updates I see that google has start indexing my pages. Check the site for redirect and it shows this:

    HTTP/1.1 301 Moved Permanently =>
    Date => Mon, 30 Apr 2012 21:57:29 GMT
    Server => Apache
    Location => mysite.cm
    Content-Length => 299
    Connection => close
    Content-Type => text/html; charset=iso-8859-1

    is everything good here?
     
  19. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    yes, as you can see its giving the 301 server status and confirms the url its redirecting to.
     
  20. sluxent

    sluxent Newbie

    Joined:
    Apr 21, 2012
    Messages:
    15
    Likes Received:
    0
    Thank you MIlian for your help, I much appreciated it, google has cached my site and things looking up :)