mardi 30 avril 2019

change url without loading (change domain) [duplicate]

This question already has an answer here:

How do I change the site.com address to site2.com but without loading the page but with my content?

The problem I have is that the pushState and replaceState methods only change the internal URLs of my site and the window.location.href method also has the problem of opening the page that I do not want, but I want to add another site address in the address bar Displays without loading that page.




Aucun commentaire:

Enregistrer un commentaire