I need an help regarding to routing. i have setup angular app on netlify server. but i am getting issue on rouging. when i am trying to open admin via url, its saying page not found. normal site is working fine. can you please let me know what is an issue with this ?
https://extraordinary-heliotrope-8f974b.netlify.app/ :- its work fine.
https://extraordinary-heliotrope-8f974b.netlify.app/admin :- its not working. getting error (Page Not Found )
@pawanjain11 It’s not just your
/admin route, it’s all your routes, go to any page (for example ‘Contact Us’) and then hit refresh on the browser and you’ll encounter a
While you’ve built with Angular and not React, your issue is likely to be precisely the same, and hopefully my previous post explains clearly why it’s happening and how you can fix it:
hi @nathanmartin. thanks for fast reply. but i am not setup admin as an sub-folder. its use same routing on my localhost.
@pawanjain11 Sorry but I don’t understand what you’re saying, and it seems you may have misunderstood what I’ve posted.
Take another read of it if you can.
Hi @nathanmartin , Thank you very much. i got it. and resolved it also. Thanks again
Hi @pawanjain11 , glad to hear you found your solution.