Skip to content

config localpreviews

Violet edited this page Nov 2, 2010 · 2 revisions

LocalPreviews

A boolean config setting to force Melody to create preview files on the same server as the "local" Melody installation rather than in the publishing location.

This config directive specifically allows the Live Preview functionality to function in a multi-server and/or multi-domain or sub-domain environment.

If blog is published to www.example.com, and the Melody application is installed at mt.example.com, then previews therefore should occur locally. When "LocalPreviews" is set to "1", all previews will be published to http://mt.example.com/ instead of http://www.example.com/.

Default is 0, disabled.

Usage

LocalPreviews 1
  • Categories: Appendix: Configuration Directives
  • Tags: config, New in MT4.1
Clone this wiki locally