Handle 403 Error

I have been trying to set the page rule to redirect when the client got error.
How do I handle the error of my page?

For Example
I set my page rules to forward to https://myexample.com
but the “myexample” website returned HTTP 403 error.

Is it possible to redirect to another page or URL whenever I got HTTP error from https://myexample.com?

Not out of the box. You could set up a worker script, which checks the destination URL before redirecting to it and then - based on the returned code - redirects wherever you want to.

This topic was automatically closed after 14 days. New replies are no longer allowed.