We had an assignment to make a website for our Web Design class. I was making it on my Raspberry Pi Apache webserver because of convenience.
I made all links that point to another page like this:
<a href="./folder/">Link to another page</a>
On Raspberry Pi it automatically loads index.html or index.php from that folder and it works perfectly fine. But after downloading everything on the USB drive, I realized that those links won't load.
Microsoft Edge won't load those link at all, and Chrome/Firefox opens "Index of file:///" and lists all files in the directory.
I already made about a hundred of files with thousands of links like those.
The working website that I made can be accessed from anywhere, so I could technically just give the link to the professor, but he wants everything on a USB drive.
So, is there any way to make the browser on his PC load index.html files automatically or I have to change every link from ./folder/ to ./folder/index.html ?
And is there a way to do this automatically or I have to manually find and replace every link?