title: Moving WordPress Content Folder
body: <p>I was trying to move WP content folder from default WP content directory.</p>
  
  <p>I followed all instructions on <a href="https://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content_folder" rel="nofollow noreferrer">this Codex section <em>Moving wp-content folder</em></a></p>
  
  <pre><code>define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/public/content' );
  define( 'WP_CONTENT_URL', 'http://project.me/public/content' );
  </code></pre>
  
  <p>With this code I've moved the wp-content folder to the desired location but the problem I'm having is that when I try to install any theme, plugin or upload any media file then it asks me for FTP connection information. Look at this screenshot below. After entering credentials it doesn't work, both on local &amp; live web servers. </p>
  
  <p><img src="https://puu.sh/sFCbS/eb6b0f9d7a.png" alt="FTP Credentials prompt"></p>
  
  <p>How can I fix this? Where am I making a mistake?</p>