How can I make 404 errors not redirect?

When I try to access a document which does not exist I get redirected to ‘mywebsite.com steht zum Verkauf - Sedo GmbH’ which works fine, since I edited it that way in .htacess, so It’s like this:

ErrorDocument 403 http://page.mywebsite.cf/my403page/
ErrorDocument 404 http://page.mywebsite.cf/my404page/

Now, I was wondering If it was possible that instead of redirecting me to that page, for it to not redirect me and just show me the error there.
Like for example on “http://google.com/test12345” it shows me a error message, but does not redirect me to a external error website.

Put the relative url instead, such as /my404page/, but for this to work, the file must be in the same domain.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.