Hello. I have here matured a few questions that do not give rest in recent times. So:
When initially changing the link from "../home.php" to "../home" by the window.history.replaceState () method, the initial state of the URL (i.e. "../home.php") and the subsequent "blinking "when changing to the second state. How to remove it? mod_rewrite or are there alternative options?
When loading new content using AJAX, I change the URL through window.history.replaceState (). Are there any options where the link like "../home" will open the page "../home.php"?
Thanks to everyone who will pay attention to my questions!