hash in url


I have get url after hitting this url 'https://wp.localserverpro.com/finestpainters/' as 'https://wp.localserverpro.com/finestpainters/#/'.
How can I remove # from it?

1 Answer

2 years ago by

I have tried this but it's not working.

 history.replaceState("", "", location.pathname);
2 years ago by Rahul Gupta