Answer the question
In order to leave comments, you need to log in
How to display a file from another directory?
Many scripts have a folder like this - test / test / test / which contains all the files like: index.html, blabla.html and so on.
All these files, despite being located 3-4 folders from the main one, open at example.com/XXXXX.html, where XXXXX is the name of the folder, instead of
example.com/test/test/test/XXXXXX.html so do it yourself?
Answer the question
In order to leave comments, you need to log in
Usually the server handles the routing. Client routing is described here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question