404 not found on redirection

why my client side deployment giving 404 not found when redirected to a different page other than the home page of my app …! it is working fine on my local setup

Hi,

There will always be differences between environments: development mode/Local, production mode/Render, etc. These differences need to be considered and configured as required for your own app in each environment.

You’ve not provided much information here, but maybe your “client site” is a Static Site with client-side routing, e.g. React Router. That would need a rewrite rule covered in the docs here: https://docs.render.com/deploy-create-react-app#using-client-side-routing

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