I have created an Angular application and it is working fine. If I try to access a specific page on the browser I can type the route and it will redirect me there. Now the backend shares this route in mail and I would like to redirect to this page.
Accessing the page however, throws 404 error.
I am using cPanel as my hosting service.
Any help would really appreciate. Been trying it for days now.
I have tried changing .htaccess
to have RewriteEngine
On but still not working as expected.
2
Answers
Check your Nginx configuration file. It should be similar to:
Updated:
I have never tried that, but something similar to nginx config above but for .htaccess is:
Add a rewrite rule to the .htaccess as below.