WordPress.org

Make WordPress Core

Opened 19 months ago

#39095 new defect (bug)

Moving WP content Folder

Reported by: iamabdurrehman Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6.1
Component: General Keywords:
Focuses: Cc:

Description

Hello,

I've one question. I was trying to move WP content folder from default WP content directory.

I followed all instructions on https://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content_folder

define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/public/content' );
define( 'WP_CONTENT_URL', 'http://project.me/public/content' );

With this code I've moved wp-content folder to desired location but the problem I'm having is this that when I try to install any theme, plugin or upload any media file then it ask me FTP connection information have a look in this screenshot https://puu.sh/sFCbS/eb6b0f9d7a.png By entering info it doesn't work on both local & live web server.

How can I fix this? Where I'm making mistake?

Thanks in advance!

Regards,

Abd Ur Rehman

Change History (0)

Note: See TracTickets for help on using tickets.