Removing subfolder from link

So basically i have multiple html files in one github page. I have one html file that is inside many folders, so when i am in it the link looks something like this:

Even though i would like the link to look like this:

How would i remove those folders? Is there some way i can cloak the html? Because i cant move it to the main directory, that messes the coding. Thanks.

Hi @crusage,

There are ways to do this sort of thing in many systems that contain internal path routing, but if you’re working in plain HTML/CSS, there is not. You would need some sort of controller to do path routing.

Hope that helps!