Skip to content

Instantly share code, notes, and snippets.

@mikezielonka
Last active December 27, 2015 12:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mikezielonka/7329513 to your computer and use it in GitHub Desktop.
Save mikezielonka/7329513 to your computer and use it in GitHub Desktop.
Define WordPress Plugin Directory in wp-config.php
/*Get WordPress To Play Nice When Your Entire Plugin Directory is a SymLink aka Symbolic Link*/
define('WP_PLUGIN_DIR', realpath($_SERVER['DOCUMENT_ROOT'] . '/wp-content/plugins'));
@mikezielonka
Copy link
Author

Goes into wp-config.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment