Assets Directory of MovableType

| No Comments | No TrackBacks

There is a folder under the MovableType installation. It is used to store the files uploaded.

The default is assets_c.

Because of I manually setup the .htaccess file to convert all underscore(_) to dash(-). The link or file under assets_c will be redir to assets-c. And got the 404 error.

So I changed Assets Directory.
1) Make a directory assets-c.
2) Move all files from assets_c to assets-c.
3) Add one line to mt-config.cgi
AssetCacheDir /assets-c
4) Login the MT system and update all images, etc.
5) Rebuild it.



Related Articles

No TrackBacks

TrackBack URL: http://www.yinfor.com/mtcgi/mt-t-1102.cgi/2231

Leave a comment

About this Entry

This page contains a single entry by David Yin published on September 10, 2008 1:16 AM.

InfoWorld announces 2008 Best of Open Source Awards was the previous entry in this blog.

Take a Correspondence Course of Catholics is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.21-en

Online Tools