Good evening, I'm a complete beginner in web development, and after several google searches, I could not get a satisfactory answer.
I am using the window.location.href
command to redirect the pages of my system, however as they are in localhost, I am just using basic paths, for example:
window.location.href="../pages/pagina.php";
or even window.location.href="pagina.php"
(when they are in the same directory).
My question is this: when uploading to a web server, is this a problem? I would need to put the full path, like "http: // ..."?
Thank you for your attention.