This is my first time working on pushing files into a hosting service and creating a website. I have a set of folders and one php file I want as the homepage. I’m relatively new to git. I was able to push and commit the files to the Pagoda server and get the webpage to working. The problem is is that when I go to the page a directory is shown displaying all of my files. Would I need to use htaccess to have the php file displayed on the page instead of the directory in order or do I do this through git. I’m really unsure how to go about this.
Share
You should have index.php/index.html among your files to prevent all of your files being seen.