/    Sign up×
Community /Pin to ProfileBookmark

Not Showing 404 Status Code

I’ve created a custom 404 error page that looks like my site. However, instead of returning a 404 status code in the header it’s returning a 200 status code. How do I tell the page to use 404 instead of 200?

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@Declan1991Nov 21.2008 — How are you assigning the 404 page? Is it through .htaccess or some other way?
×

Success!

Help @nbcrockett spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 7.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ,
analytics: Fullres
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @qewfun,
tipped: live stream
amount: 5000 SATS,

tipper: @qewfun,
tipped: live stream
amount: 5000 SATS,

tipper: @qewfun,
tipped: live stream
amount: 5000 SATS,
)...