/    Sign up×
Community /Pin to ProfileBookmark

Help index file

Hey guys

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 [url]www.paseoazteca.com/index[/url]
But when i just type in [url]www.paseoazteca.com[/url] it loads to a page and just shows the sitemap(?)

Index of /

about.html
contact.html
address.html
index.html
menu.html
promotions.html

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

Alan

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@icoolJan 04.2013 — 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
Copy linkTweet thisAlerts:
@cbVisionJan 04.2013 — It sounds like your directory index isn't set. Try creating a file called ".htaccess" and add the following to it:

[CODE]DirectoryIndex index.html[/CODE]

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:

http://httpd.apache.org/docs/2.2/mod/mod_dir.html

This will only work if you're running Apache as your server.
Copy linkTweet thisAlerts:
@polyglotJan 12.2013 — Don't forget that there is an index file hierarchy :

index.html

index.htm

index.php

I use index.htm for my portal page: http://jp29.org/

and

the subordinate index.php for my Web Developer Tool Kit Home Page: http://jp29.org/index.php

JP
×

Success!

Help @aacs90 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...