How in htaccess to set it so that at 404, 403 it does not redirect to the page with an error, but load the content of the page with an error?
If you enter for example https://core.lotus-app.ru/codingru then it will redirect to https://core.lotus-app.ru/404 . The task is to make the client stay on the same page ( https://core.lotus-app.ru/codingru ), but at the same time it displays the content from ( https://core.lotus-app.ru/404 )
Excerpt from .htaccess for redirect:
ErrorDocument 403 https://core.lotus-app.ru/403 ErrorDocument 404 https://core.lotus-app.ru/404 Upd 03/14/2018: The issue is no longer relevant, switched to node.js.