html website to php and 301 edirect

Discussion in 'PHP' started by kichus, Aug 8, 2012.

  1. #1
    hello everyone

    I recently changed my html site into a dynamic php website. How do I give 301 redirects so my old links will not show error pages. Do i have to give redirect for each page or is there a way i can give a common redirect for all the html files.

    Thanks
     
    kichus, Aug 8, 2012 IP
  2. latnemele

    latnemele Member

    Messages:
    120
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    38
    #2
    you can redirect all non-existing pages to any of your pages using the .htaccess file
     
    latnemele, Aug 8, 2012 IP
  3. 123addme

    123addme Active Member

    Messages:
    171
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    123addme, Aug 8, 2012 IP