Not a developer? Go to



This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.

Defines the URL path to the Movable Type application directory.

The CGIPath configuration directive is a required setting. It is used in the construction of links to any of the various scripts which handle the system’s public interfaces (e.g. comments, TrackBacks, search, etc).

Note that the CGIPath should not point to your blog, and Movable Type should not be installed in the same location you want your blog to appear. For organization and clean functionality, Movable Type should be installed in its own folder; your blog can be set up anywhere outside of this folder.

This value can be output through your templates using the <mt:CGIPath> template tag. This tag is often used in blog/website templates to refer to scripts necessary for commenting, searhing, RSD file, and more. The Movable Type application also uses this value to reference files and URLs.

Warning: For added security, Six Apart recommends the use of the AdminCGIPath configuration directive to defining a separte domain or SSL protocol to access Movable Type ‘s administrative scripts (such as mt.cgi).


Value can be a absolute url:


Or a url relative to to the site root:

CGIPath /cgi-bin/mt/

There is not default; this is a required configuration directive.


If you normally access Movable Type with the following URL:

Then you would put this in your mt-config.cgi: