Help index file
So i just opened a mexican restaurant and im developing a website for it. I know some html and css but this is the first time i create a website.
The thing is that the website goes www.paseoazteca.com/index
But when i just type in www.paseoazteca.com it loads to a page and just shows the sitemap(?)
Index of /
Is there a way to create a webpage for the main address "www.paseoazteca.com"?
Or, how do i redirect the site so that when i entry "www.paseoazteca.com" it takes me to "www.paseoazteca.com/index"?
Thx in advance
Just be sure that your index.html is in the root of the site, the other things are not important
I this way your main page should be available by blabla.com and blabla.com/index.html
It sounds like your directory index isn't set. Try creating a file called ".htaccess" and add the following to it:
Then upload that to the root directory (where your about, contact, index.html) files are. Basically, the .htaccess file will tell the browser to use the index.html file as your directory index. Here's a link with more information:
This will only work if you're running Apache as your server.
I'm always up for networking with fellow web professionals. Connect with me on LinkedIn
if you like!
Don't forget that there is an index file hierarchy :
I use index.htm for my portal page: http://jp29.org/
the subordinate index.php for my Web Developer Tool Kit Home Page: http://jp29.org/index.php
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)