Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I have a PHP question: How do I make a 404 redirect?
#2
Create a file called .htaccess in the folder where your website is, and put this line in it:

ErrorDocument 404 /error.php
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)