Anil Thakur

Anil Thakur

  • 848
  • 1.6k
  • 724.9k

How to force trailing slash in URL Angular 7 with no 404?

Jan 16 2019 2:05 PM
I am trying to add trailing slash in end of URL as we all know for SEO ranking purpose, i am able to add trailing slash at url end but now i am getting issue that everytime i refresh page it  redirect me to  404 component. Anyone having any idea how to use trailing slash without 404 issue on refresh?

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (6)