Hey guys I am in a bit of a pickle at the moment.
I have a main folder with my main html file in it or index.html. And also inside that folder I have other flders to contain the other pages/images and css.

Does anyone know how I can access these other folders and move to and from them by using the navbar on the site.

For example the main or home page is referenced just by using index.html. I tried using about/index.html to access the second page which is located within the about folder.

Sorry if I made a simple situation seem really difficult but I am puzzeled at the moment.
Thanks in advance Edmond.

Recommended Answers

You're going wrong there. Suppose your index.html file is located at the root /index.html and your about folder is located in the same folder /about , you will access it using /about/whatever.html .

I hope your problem is solved now.

Jump to Post

All 3 Replies

You're going wrong there. Suppose your index.html file is located at the root /index.html and your about folder is located in the same folder /about , you will access it using /about/whatever.html .

I hope your problem is solved now.

Thank you so much

You are welcome! :)

Since you're problem is solved, please mark the thread as solved so that it can be used to help others.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.