Rewriting categories URL; Will it make future problems?

Rewriting in the manner of redirecting! You request for example.com/A and it is translated as example.com/category/A for the CMS by the web server, here Nginx. Why should we get a 404 error?!