Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

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: www.example.com/dir1/dir2/dir3/file6

Even though i would like the link to look like this: www.example.com/file6

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.

1 Reply
Highlighted
Community Manager
Message 2 of 2

Re: Removing subfolder from link

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!