[ Web Proxy ]
URL:
Viewing: https://docs.patchstack.com/patchstack-plugin/wp-constants/ [Back]  [Original]

WP constants | Patchstack Docs Skip to content
logo.BV31tBX8.svg [logo.BV31tBX8.svg] Patchstack Docs
CtrlK
Cancel
Select theme DarkLightAuto

WP constants

Patchstack has introduced WordPress constants which can be used in wp-config.php file.

To prevent Patchstack from writing rules to the .htaccess file, add the following constant to your wp-config.php file. If rules were previously added to your .htaccess file via the Patchstack App, you will need to remove them manually.

define('PS_DISABLE_HTACCESS', true);

Patchstack automatically creates a mu-plugin upon installation. To prevent automatic mu-plugin creation, define the PS_DISABLE_MU constant in your wp-config.php file.

define('PS_DISABLE_MU', true);

Web Proxy Viewer  |  New URL  |  Original Page