tags:

views:

25

answers:

1

Commonly movable type will publish HTML files which contains absolute path, but if I want to host the site under different domain(e.g., both HTTP and HTTPS), it is very inconvenient.

So is there a way to change all the paths to resource of my site to absolute ones?

Thanks

+1  A: 

I think you want "reletive" paths. The relative directories can be symlinked/aliased on the server. Once file paths are aliased...

Update your mt-config.cgi file to use reletive paths for the required config directives:

This is also covered in the installation guide

Beau Smith
Hi, It is strange that it dosen't work. I have changed the CGIPath and StaticWebPath to relative path and it still publish files containing absolute path
haohaolee