DEV Community

Abdul Mannan Khan
Abdul Mannan Khan

Posted on


NEED help - how to rewrite URL in react js (vite js)

I'm stuck from last few days can anyone tell me how to rewrite URL in react js (vite js) or using javascript. I want to render one HTML page via url like www.something/portal/home/article.html but my backend team wants to hide this url and wants mw to show a dummy url or rewrite like this www.something/home/category/sub-catefory/article
This thing is working in some other project of DOTNET core but i have to implement this in react js.
Please help me if someone have any solution....

Top comments (0)

An Animated Guide to Node.js Event Loop

>> Check out this classic DEV post <<