Hello, after working in my local for months I’ve decided to upload and go online, I’ve learned a lot on the way but I’m lacking the online part. Its the first time I upload a website that isn’t a wordpress site, and even so I’ve only uploaded two websites in the past. In wordpress you can configure your links to look something like:
well a friend has lend me a small part of his hosting space so I can upload my stuff and test or use it as it is before I buy space or a name of my own.
and I’ve noticed that I don’t like how my website shows sections
my index.php reads well like mysubdomain.example.com/
but how can I configure or remake my files to not look like this:
mysubdomain.example.com/section1/item1.php
or mysubdomain.example.com/section1/gallery.php
not only it shows extension of the file, but you can also access the folders directly like:
you just type in the navbar
mysubdomain.example.com/section1/
and goes to explorer type
Parent Directory.
imagegallery.php
images/
icons/
whatever/
item1.php
you can’t download the *.php files and see the code, it downloads them as htmls files. But you can download for example all the images at once if you want, and don’t even look them or download from the website. And you can see the folder structure.
What do I need to learn to make this better? and to show stuff like I want?
Thanks.