I am developing a system and to perform the tests I am using xampp. That is, everything is accessible through the address:
localhost / myite /...
To call all the links on my site, as well as include files, I'm using absolute url, for example:
"localhost / nomedosite / pagina1.php"
"localhost / nomedosite / folder / paginapasta.php"
Everything works perfectly, but now there are more than 50 files that I have developed, the problem with this is that when I perform the hosting, will I have to rewrite each link / include / call of each file? Is there any way I can perform absolute url writing without this bent work?
I thought of using relative urls, but when I do this because of .htacess the urls end up giving error.