Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

when people go to my website it shows all my files and not the landing page of my website

when I go to my website directory it shows all my files and not to my landing page, is there a way to fix this? I have tried everything even looked through the internet without any clear response. I am close to finishing my website I only need to resolve this problem.

Thank you!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The issue seems to be that you are not on the HTML file, but on the folder.


To fix this issue, you have to redirect yourself to the HTML landing page.

/ar/home.html

This should show your HTML landing page correctly rendered.


Tip: Normally, the main page is called index.html by convention. This can be helpful. For example, the Live Server extension on Visual Studio Code will automatically go to index.html if the file isn’t specified. Other hosting services, like GitHub Pages, also do the same.

None of the extensions, IDEs and hosting services listed above are sponsored! They are just used for the sole purpose of examples.


In conclusion, you need to go to the HTML file, instead of the folder.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading