Hello,
I've been researching this for a couple days now with no luck. Does anyone know how I could make my WordPress site redirect to a maintenance page if a php scripting error is detected?
Hello,
I've been researching this for a couple days now with no luck. Does anyone know how I could make my WordPress site redirect to a maintenance page if a php scripting error is detected?
Okay, it turns out what I was trying to do isn't possible. I was wanting to redirect if a syntax error is detected and two different people on two different forums told me that syntax errors are not catchable by an user error handler. In other words, you can't use php's error handler to redirect on a syntax error.
So, problem solved, it's not possible. Moving on... :)
This topic has been closed to new replies.