I am using XAMPP on windows machine for designing my prototype.
Here is the question. Howe can I redirect all broken links on my webpage to a prefine error page?
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Open the
httpd-multilang-errordoc.conf file. This is where all of the custom error pages and where they go are defined. Look for this (if you don’t find it, add it)Where the /error404.html is the name of your predefined error page. Place this file in the htdocs folder. Restart XAMPP service.
The other method involves adding this line to your virtual server configuration lines.
Additional Resources
Forum 1
Forum 2