Jump to content

Recommended Posts

Posted

On my web site I am running MT. I installed it under a subdir under public_html named /moveabletype. The index file there is index.shtml.

 

I added a line in the .htaccess file:

 

DirectoryIndex ./movabletype/index.shtml index.html index.htm

 

So when someone went to www.jeffsabin.com it would redirect them. That works fine but anytime I have a link within my site that references:

 

'www.jeffsabin.com/moveabletype' explicitly, instead of automatically pulling up the index.shtml file, it simply displays a directory listing of the moveabletype directory.

 

You can see this when you click on any month in my archives section on the home page, and then click on 'main' to go back.

 

What am I missing? Can anyone help me?

 

Thank you,

 

-Jeff

Posted

I assume the htaccess file you edited is in your public_html folder. If you add another htaccess file in the subdirectory /moveabletype, you can specify the default page for that directory. Just add the line:

 

DirectoryIndex index.shtml index.html index.htm

Guest
This topic is now closed to further replies.
×
×
  • Create New...