Need 301 Redirect Code

Discussion in 'Search Engine Optimization' started by Aryans, Oct 14, 2009.

  1. #1
    Hello Guys,

    I need 301 redirect code can anyone give me please.....

    Thanks
    Aryans
     
    Aryans, Oct 14, 2009 IP
  2. TheCrabb

    TheCrabb Peon

    Messages:
    304
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PHP? ASP? ASPX? Windows? Linux?

    Try Google....
     
    TheCrabb, Oct 14, 2009 IP
  3. Aryans

    Aryans Well-Known Member

    Messages:
    1,854
    Likes Received:
    31
    Best Answers:
    1
    Trophy Points:
    178
    #3
    Thanks for your reply I need 301 HTML code to redirect complete site.
     
    Aryans, Oct 14, 2009 IP
  4. marrya

    marrya Well-Known Member

    Messages:
    241
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #4
    which code you need php or you need website to shifting code if you are shifting to new domain ? hey use this you may get some information
     
    marrya, Oct 14, 2009 IP
  5. justAdream

    justAdream Active Member

    Messages:
    47
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #5
    hello friends, also i need asp 301 redirect code www and without www
     
    justAdream, Oct 14, 2009 IP
  6. marrya

    marrya Well-Known Member

    Messages:
    241
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #6
    marrya, Oct 14, 2009 IP
  7. marrya

    marrya Well-Known Member

    Messages:
    241
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #7
    hi friend i have got this article you can get some more information here please check it redirect 301
     
    marrya, Oct 14, 2009 IP
  8. Aryans

    Aryans Well-Known Member

    Messages:
    1,854
    Likes Received:
    31
    Best Answers:
    1
    Trophy Points:
    178
    #8
    here is just information about the 301 redirect code but i need exact 301 redirect code for my html site
     
    Aryans, Oct 14, 2009 IP
  9. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #9
    you can use .htaccess to set 301 redirection.

    Create a .htacess file in public_html folder and add this code.

    
    redirect 301 /old/old.htm http://www.you.com/new.htm 
    
    Code (markup):

    where:
    /old/old.htm (the original folder path and file name)

    http://www.you.com/new.htm (new path and file name)
     
    aap, Oct 14, 2009 IP
  10. webdev007

    webdev007 Active Member

    Messages:
    1,037
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    88
    #10
    webdev007, Oct 14, 2009 IP
  11. Aryans

    Aryans Well-Known Member

    Messages:
    1,854
    Likes Received:
    31
    Best Answers:
    1
    Trophy Points:
    178
    #11
    thanx guys i got it
     
    Aryans, Oct 15, 2009 IP