I want to redirect my site to a specific page (Ex: /example-page-400) if the status code received from the server is 400. Actually I am having a drupal site on which SSO login is enabled. In some cases SSO throwing 400 and I want to show a custom page in that scenario.
So thinking if it is possible to redirect to a custom page via .htaccess if status code is 400.
ErrorDocument.