I'm working on a simple website that I can reach through ftp. There is a login page, what is written in .php. I don't know php at all. My problem is: In the homepage .html file, a link only points to a folder (not a .html file or something) on the ftp server like this:
<a href="login/">
And it goes to a page that has html(pictures):
There is no html file on ftp server in the "login" folder. But I have to edit that login page. But my mind in now blown :D I know its kinda newbie question.
Thanks in advance!
That is how server folder structure works.
I am assuming there's either a
index.php
orindex.html
in the/login
folder.You don't have to point to the file directly for index files. Your server will hand out the
index
file automatically.For example, imagine this is my login folder:
If you navigate to
/login
it will automatically hand youindex.php
. If you want to logout, then you would send them to/login/logout.php
.Think of a book, it always starts with an index, which will guide you through the book. The same way the index page of a site. It guides you through that site.