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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...