15 Replies Latest reply: Feb 10, 2013 8:49 AM by gabessdsp RSS

    404 Error pages

    gabessdsp Community Member

      Right now I have my .htaccess setup so that if I go to www.website.com/nonexistantpage.htm it takes me to the proper 404 error page. But my website is built around php variables for the pages so to visit the home page it's not website.com/home.htm it's website.com/index.php?page=home


      So if I do


      website.com/index.php?page=nonexistant page


      I jsut get a php error that the file does not exist. Instead of this happening I want it to also point to my error page. How do I set this up?