Site loaded with no refresh?

0

I'm trying to develop a site without reloading a page but change the page url so that google search type thefts can find pages on my site more easily than with ajax . For example: OndaSul FM .

I know this process can be done with JavaScript. Also with the History.js plugin.

Would anyone know how to do this?

    
asked by anonymous 02.06.2017 / 20:45

1 answer

1

With the arrival of html5 and your pushState you can easily, see the example that I will quote below. Any doubts come back to ask at the most is just to take a look and understand how it works!

window.history.pushState("objeto ou string", "Titulo", "/nova-url");

I hope I have helped! until the next.

    
02.06.2017 / 23:33