• 0

really easy html question..


Question

hey guys

so i'm a newbie to the webpage creation world.. and i made a basic html page...

so i have a domain www.lukaszweb.com

now i want it to automatically go to a virtual directory called main

so in the public_html folder i have index.shtml which has the code

<!--#include virtual='main/index.html' -->

so yes .. i have an index.html file in my main folder

i admit i used a site builder program that my host had... and this was how it was setup .. but i didn't like it .. and the folder naming convention ... so i change the folder name to what i have now... "main" and edited the index.shtml file...

when you go to the site... you get a 404 page... but if you go to www.lukaszweb.com/main ... vioala... everything is there .... what gives???

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

<!--#include virtual='main/index.html' -->

This tag shouldn't do anything btw.

You cannot literally include a webpage if you have an HTML-only page (correct me if I'm wrong), but an application can do so, and it adds random tags like this one.

Now, I cannot really help you with your issue, as the application decided of your website structure...

Link to comment
Share on other sites

  • 0
This tag shouldn't do anything btw.

You cannot literally include a webpage if you have an HTML-only page (correct me if I'm wrong), but an application can do so, and it adds random tags like this one.

/me points out the almost invisible extra character in the filename: index.shtml :whistle:

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.