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

301 redirect?

Discussion in 'White Hat SEO' started by sonobby1, Feb 6, 2011.

  1. sonobby1

    sonobby1 Regular Member

    Joined:
    Mar 3, 2009
    Messages:
    236
    Likes Received:
    31
    Location:
    Uk
    Can someone help me here please because I wasnt aware of this, I just happened to read about it. Actually im confused.

    Ok so ive set up 5 sites as http://my domain com

    when I set up the sites should i have set them up as http.//www.mydomain.com

    then there is also mydomain.com?

    from what I have read i need to set up a 301 redirect dont i?
    Can someone put me in the right direction please because Im not sure if I need to or not, and if I do, what is the easiest way to do it
    Thanks
    Si
     
  2. thebluewonderland

    thebluewonderland Newbie

    Joined:
    Jan 18, 2011
    Messages:
    30
    Likes Received:
    3
    well the simple solution would have been google "how to 301 redirect". but all you do is change / add .htaccess and add a line that says
    redirect 301 /old/old htm /domain com
    example...
    redirect 301 /default html /google com

    youll have to add the dots where u think they belong... which i think you should be able to figure out..
     
  3. TonyBaloney

    TonyBaloney Newbie

    Joined:
    Jan 11, 2011
    Messages:
    26
    Likes Received:
    1
    Most hosts have this enabled automatically now, but you can setup a simple redirect in .htaccess if not.
     
  4. GreyWolf

    GreyWolf Executive VIP Jr. VIP

    Joined:
    Aug 17, 2009
    Messages:
    1,930
    Likes Received:
    5,389
    Gender:
    Male
    Occupation:
    Artist / Craftsman
    Location:
    sitting at my PC
    There's a ton of information here on bhw for this topic that you can read if you just try the search feature.

    Go to the BHW Advanced Search page and try searching by these keyword(s).
    redirect
    redirects
    redirection
    301 redirect
    301 redirects
    301 redirection
    htaccess redirect
    htaccess redirects
    htaccess redirection
    host redirect
    host redirects
    host redirection​
    Then try any other variations you might think of after seeing the results of those search queries.

    Each one of those queries will get a few of the same threads and a bunch more different threads that pertain to the topic. They will also return some unrelated threads in which someone might have suggested doing a redirection for whatever reason.

    After looking through the most relevant threads you find in the results then try the same search queries with a few different search options. Change "Show Results as" to "Posts" and you'll see the specific replies in those unrelated threads in which someone suggested using redirects. Sometimes you can learn a lot from those replies. Then try setting the "Find Posts from" to 6 mos or a year ago and you'll get a different set of useful threads to read. If you know a few members that have made related posts try searching for those keywords and fill in the "Search by User Name" field. For instance I've made many posts relating to the use of 301's. Include my user name and show results as posts and you'll find many threads in which I've replied with lots of information in various threads.

    There's no way that you're going to find as much out from posting this thread, as what you will learn if you do the searches I just listed for you.

    If you want to learn even more about redirection and other uses for it you can try searching for these terms as well
    refresh
    meta refresh
    double meta refresh
    referer
    referrer
    fake referer
    fake referrer
    faking referer
    faking referrer
    blank referer
    blank referrer​

    All the questions you asked in the first post have been answered in depth in many other threads. Use the search feature to do the search queries I listed and you'll find them.

    Hope that helps.
     
  5. Niche-Digger

    Niche-Digger Junior Member

    Joined:
    Apr 3, 2009
    Messages:
    138
    Likes Received:
    17
    WordPress has build option to switch between www and non-www but i think .htaccess works better.

    You can also setup the Google webmaster tool to list your site as www. or non-www