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

301 redirecting certain pages only

Discussion in 'Black Hat SEO' started by karupoiss, Jun 19, 2014.

  1. karupoiss

    karupoiss Elite Member

    Joined:
    May 16, 2012
    Messages:
    1,771
    Likes Received:
    560
    Gender:
    Male
    Location:
    Europe
    Home Page:
    Let's say I want to redirect certain pages only on my domain to the root page.
    I have to use code in .htaccess file:

    Code:
    redirect 301 /page-with-lots-of-linkjuice.html http://www.domain.com
    When using Moz I see that my main pages are:

    http://www.domain.com/
    http://www.domain.com/contact.html
    http://www.domain.com/page-with-lots-of-linkjuice.html

    Is this the correct code and way to go or should I redirect the page to http://www.domain.com/. See the "/" at the end of the url. What is the difference between them? Do I have to redirect the "http://www.domain.com/" to "http://www.domain.com" also? (the main page with "/" to the root domain without the "/"?) I am pretty confused about that.