|
#1
|
|||
|
|||
|
Hi all,
I deleted my home page then created a new "text" file named "index.shtml where I copied and pasted my html code in my "public html directory". now I get a 404 when I try and load my home page? do I need to edit my ".htacess file" if so what is the correct code to use the .shtml ext. Thanks in advance Randy |
|
#2
|
||||
|
||||
|
No, there should be no need to do anything to the .htacess to use an shtml. The default apache config will usually look for .html/.htm then .shtml and go onto .php etc...
It's strange you're getting a 404... we'd likely need to know more info... best to email support @ hostgator.com with the particulars and have them fix it up |
|
#3
|
|||
|
|||
|
Thanks for the reply..
now when I try and load my page I get a page that says Quote:
Here is my htaccess file looks like just in case... Quote:
|
|
#4
|
||||
|
||||
|
The DirectoryIndex line in your .htaccess file is telling the site to load index.html as the default page. You need to add index.shtml to that line (or change index.html to index.shtml) to cause it to load your main page.
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 404.shtml question | dougeby | Shared Hosting Support | 25 | 05-13-2011 08:12 AM |
| Messages saved in IMAP Drafts/Sent folders not showing up on Webmail | roundtuit07 | Shared Hosting Support | 5 | 10-04-2008 11:23 PM |
| Making SHTML Pages | gobbly2100 | Shared Hosting Support | 2 | 02-17-2007 03:14 AM |
| redirects and 404.shtml | julesgf | Shared Hosting Support | 0 | 10-21-2005 10:05 AM |
All times are GMT -5. The time now is 01:41 AM.









