So I posted a question on the Movable Type community forum and thought I’d link to it here. The question is, how do you map the server root URL to the Main Index in Movable Type if you’re using dynamic publishing for that page?
If you publish a static file for the Main Index under the name recognized by the Web server as a directory index, then there’s no problem if someone goes to a URL like
http://rc3.org/. However, if you are dynamically publishing that page, then no directory index is found and
mtview.php tries to load the template associated with /. Since no such template exists, it returns an error.
The options to deal with this are:
mtview.phpto map the URL / to the Main Index.
- Creating a Movable Type template that maps to /. (I’m not sure whether this will work given that / is not a valid file name.)
- Add a redirect to
.htaccessto redirect people from / to the index.
Is there a preferred solution to this problem in the Movable Type community?