How to make a normal navigation when the site is ajax?

How to make a normal link structure and that they were recorded in history, and if a customer wants to return to the previous page, the page will be dreaming by a url recorded in history?
April 19th 20 at 12:16
2 answers
April 19th 20 at 12:18
pajax, history.pushstate and that's all...
April 19th 20 at 12:20
look at the side of the router.
There are plenty of ready routers on JS, there are articles which describes how to write your own router

Find more questions by tags jQueryJavaScriptAJAX