How do you???

Discussion in 'Programming' started by nut legend, Dec 27, 2008.

  1. #1
    Hey,

    I was wondering, how do you 'catch' 404 error's, like if someone goes on a page of your site and it doesn't work how do you re-direct them to your homepage? (I have tried googling it but I couldn't find any free scripts).

    Also on a wordpress blog can you install a forum onto a page? I heard you can but how?

    Regards,

    nut legend
     
    nut legend, Dec 27, 2008 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    for 404 page redirecting it can be done with htaccess like
    ErrorDocument 404 index.html
     
    crivion, Dec 27, 2008 IP
  3. hassanahmad1

    hassanahmad1 Active Member

    Messages:
    150
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    ... and put the above statement in a .htaccess file
     
    hassanahmad1, Dec 29, 2008 IP