سلام استاد کد 404 برای زمانیه که صفحه موجود نیست برای زمانی که صفحه اجزای ریکویست نمیده توی داکیومنتها نوشته باید از کد 403 استفاده بشه:
The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource, or may need an account of some sort. This code is also typically used if the request provided authentication via the WWW-Authenticate header field, but the server did not accept that authentication.