Notices
Results 1 to 2 of 2

Thread: what is http 301 and http 302

  1. #1 what is http 301 and http 302 
    New Member
    Join Date
    May 2007
    Location
    Pakistan
    Posts
    4
    hey guys im really new at websites...
    i have found some errors related to my web from google boot...
    can u plz explain me about this error below:

    "You have 302 (temporary) redirection
    http://www.kirayadaar.com/
    redirected 302 Object moved to main.asp

    If this is a permanent feature of your site (if your home page is
    really:
    http://www.kirayadaar.com/main.asp
    you should have an http 301 (permanent) redirection. The difference
    does not sound much but is very important really. "

    tell me if someone of u know to resolve this issue
    thanks!


    Reply With Quote  
     

  2.  
     

  3. #2 i got answer! 
    New Member
    Join Date
    May 2007
    Location
    Pakistan
    Posts
    4
    well guys after some search on internet i have got an answer about this problem...

    this was the problem of redirecting the default page using http 301 instead of using http 302...
    its asp+vbscript code is as below..

    <%
    ' Permanent redirection
    Response.Status = "301 Moved Permanently"
    Response.AddHeader "Location", "main.asp"
    Response.End

    %>

    ask for more if you u confused.. i am telling this because i was confused for such a long time..

    have fun!


    Reply With Quote  
     

Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •